Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_depth_bias_control.adoc12 of depth bias when rendering.
16 Some applications and API layering efforts, e.g., D3D9, need a way for depth bias to be represented…
17 terms as if it were `depth = depth + depth_bias` in the shader, rather than being format-dependent.
19 In some older APIs, applications can specify extreme depth bias values, such as
25 This leads to incorrect depth bias values being applied, and the error is larger
26 the larger the fixed depth bias is.
28 API layering efforts regularly need to emulate certain depth formats such as `VK_FORMAT_D24_UNORM_S…
33 treating the depth bias' minimum resolvable difference in linear terms (like
45 …e scaled `r * n` values by drawing a quad with a known depth bias value and reading back the depth
49 …* Another option from the application side is to use a push constant and perform depth-bias manual…
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_depth_range_unrestricted.adoc23 Finally it removes the restriction on the pname:depth value in
36 If depth clamping is disabled the depth values are still clipped to [eq]#0
38 If depth clamping is enabled the above equation is ignored and the depth
43 2) What happens if a resulting depth fragment is outside of the `0.0` to
44 `1.0` range and the depth buffer is fixed-point rather than floating-point?
47 fragment shaders replace depth values, for example), and this extension does
48 not change the behaviour, which is defined in the <<fragops-depth,Depth
DVK_EXT_sample_locations.adoc29 It is common for implementations to optimize the storage of depth values by
30 storing values that can: be used to reconstruct depth at each sample
31 location, rather than storing separate depth values for each sample.
32 For example, the depth values from a single triangle may: be represented
34 When the depth value for a sample is needed, it is automatically evaluated
37 evaluate the same depth values as when the samples were originally
38 generated, thus the depth aspect of a depth/stencil attachment must: be
41 Some implementations may: need to evaluate depth image values while
DVK_NV_inherited_viewport_scissor.adoc29 command buffers must re-specify the inherited depth range values.
35 (1) Why are viewport depth values configured in the
58 modifying the viewport depth alone is provided.
59 By specifying viewport depth values when starting secondary command buffer
60 recording, and requiring the specified depth values to match the inherited
61 depth values, we allow for validation layers that flag depth changes as
65 In fact, there is no need to re-execute a depth-setting command.
66 The graphics device retains the viewport depth state; it is the CPU-side
70 (2) Why are viewport depth values specified as a partial slink:VkViewport
71 struct, rather than a leaner depth-only struct?
DVK_EXT_depth_clip_control.adoc18 This extension allows the application to use the OpenGL depth range in NDC,
19 i.e. with depth in range [eq]#[-1, 1]#, as opposed to Vulkan's default of
24 different depth value, costs ALU and consumes shader output components that
37 The depth clip control is a much harder problem to solve than what this
44 The purpose of this extension is to emulate the OpenGL depth range, which is
52 It is highly unlikely that the depth range is changed to anything other than
DVK_KHR_separate_depth_stencil_layouts.adoc21 This extension allows image memory barriers for depth/stencil images to have
25 To support depth/stencil images with different layouts for the depth and
26 stencil aspects, the depth/stencil attachment interface has been updated to
DVK_EXT_depth_clip_enable.adoc20 This extension allows the depth clipping operation, that is normally
26 This is useful for translating DX content which assumes depth clamping is
27 always enabled, but depth clip can be controlled by the DepthClipEnable
DVK_NV_framebuffer_mixed_samples.adoc16 This extension allows multisample rendering with a raster and depth/stencil
18 Rasterization and the results of the depth and stencil tests together
27 Rendering with fewer color samples than depth/stencil samples greatly
45 number of samples in the depth/stencil attachment in a subpass is a
49 a set of covered raster/depth/stencil samples to a set of color samples
53 corresponding to the number of associated raster/depth/stencil samples
DVK_AMD_mixed_attachment_samples.adoc20 depth/stencil sample count that is larger than the color sample count.
21 Having a depth/stencil sample count larger than the color sample count
24 All samples are depth/stencil tested, but only the first color sample count
DVK_KHR_depth_stencil_resolve.adoc23 depth/stencil attachments in a subpass in a similar manner as for color
30 depth/stencil attachment.
31 The flink:vkCmdResolveImage command does not allow for depth/stencil images.
32 While there are other ways to resolve the depth/stencil attachment, they can
48 for depth/stencil resolve.
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_diagnostic_trace.cpp90 size_t depth = g_TraceLog->get_depth(); in TraceNode() local
106 if (depth) in TraceNode()
111 size_t out_indent = (depth * 2) * g_trace_indent; in TraceNode()
112 size_t in_indent = (depth * 2 + 1) * g_trace_indent; in TraceNode()
134 size_t depth = g_TraceLog->get_depth(); in add_attrib() local
135 size_t indent = (depth * 2) * g_trace_indent; in add_attrib()
157 size_t depth = g_TraceLog->get_depth(); in ~TraceNode() local
158 size_t out_indent = (depth * 2) * g_trace_indent; in ~TraceNode()
159 size_t in_indent = (depth * 2 + 1) * g_trace_indent; in ~TraceNode()
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLESTextureUtils.h14 GLsizei width, GLsizei height, GLsizei depth,
27 GLsizei width, GLsizei height, GLsizei depth,
37 GLsizei width, GLsizei height, GLsizei depth,
66 GLsizei width, GLsizei height, GLsizei depth,
82 GLsizei getCompressedImageSize(GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth,…
DGLESTextureUtils.cpp246 GLsizei width, GLsizei height, GLsizei depth, in computeTextureStartEnd() argument
262 …ALOGV("%s: input idim %d %d %d w p h %d %d %d:", __FUNCTION__, width, height, depth, inputWidth, i… in computeTextureStartEnd()
270 endVal = startVal + inputPitch * inputHeight * (depth - 1); in computeTextureStartEnd()
274 endVal = startVal + inputPitch * inputHeight * depth; in computeTextureStartEnd()
285 GLsizei width, GLsizei height, GLsizei depth, in computeTotalImageSize() argument
296 width, height, depth, in computeTotalImageSize()
311 GLsizei width, GLsizei height, GLsizei depth, in computeNeededBufferSize() argument
323 width, height, depth, in computeNeededBufferSize()
364 GLsizei width, GLsizei height, GLsizei depth, in computePackingOffsets3D() argument
379 (void)depth; in computePackingOffsets3D()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/
Dattachment_description_common.adoc8 If pname:format includes a color or depth component and pname:loadOp is
19 If pname:format is a depth/stencil format, pname:initialLayout must: not
26 If pname:format is a depth/stencil format, pname:finalLayout must: not
68 If pname:format is a depth/stencil format which includes both depth and
73 If pname:format is a depth/stencil format which includes both depth and
78 If pname:format is a depth/stencil format which includes only the depth
83 If pname:format is a depth/stencil format which includes only the depth
Dtrace_rays_limits_common.adoc16 * [[VUID-{refpage}-depth-03640]]
17 pname:depth must: be less than or equal to
21 [eq]#pname:width {times} pname:height {times} pname:depth# must: be less
Dcopy_bufferimage_to_imagebuffer_common.adoc22 [eq]#(pname:{imageextent}.depth {plus} pname:{imageoffset}.z)# must:
23 both be greater than or equal to `0` and less than or equal to the depth
28 pname:{imageoffset}.z must: be `0` and pname:{imageextent}.depth must:
41 depth>> of the elink:VkFormat of pname:{imageparam}
56 and pname:extent.depth does not equal the depth of the subresource
57 specified by pname:srcSubresource, pname:extent.depth must: be a
59 depth>> of the elink:VkFormat of pname:{imageparam}
/hardware/google/gfxstream/host/vulkan/
DVkFormatUtils_unittest.cpp35 Field("depth", &VkExtent3D::depth, Eq(expected.depth))),
110 .depth = 1, in TEST()
147 .depth = 1, in TEST()
171 .depth = 1, in TEST()
208 .depth = 1, in TEST()
232 .depth = 1, in TEST()
256 .depth = 1, in TEST()
/hardware/google/gfxstream/guest/mesa/bin/
Dupdate-android-headers.sh11 …git clone --depth 1 https://android.googlesource.com/platform/frameworks/native platform-framework…
12 …git clone --depth 1 https://android.googlesource.com/platform/hardware/libhardware platform-hardwa…
13 git clone --depth 1 https://android.googlesource.com/platform/system/core platform-system-core
14 …git clone --depth 1 https://android.googlesource.com/platform/system/logging platform-system-loggi…
15 …git clone --depth 1 https://android.googlesource.com/platform/system/unwinding platform-system-unw…
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DImUtil.h8 int depth);
13 int depth);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/reflow-tests/
Dsrc-new-vuid-attribute.adoc13 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
14 …greater than or equal to `0` and less than or equal to the depth of the specified pname:{imagesubr…
15 …lement of pname:pRegions, pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be `1`
25 …multiple of the <<formats-compatibility-classes,texel block extent depth>> of the elink:VkFormat o…
32 …and pname:extent.depth does not equal the depth of the subresource specified by pname:srcSubresour…
34 depth>> of the elink:VkFormat of pname:{imageparam}
Dexpect-new-vuid-attribute-novuid.adoc14 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
15 greater than or equal to `0` and less than or equal to the depth of the
19 pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be
35 depth>> of the elink:VkFormat of pname:{imageparam}
47 and pname:extent.depth does not equal the depth of the subresource
48 specified by pname:srcSubresource, pname:extent.depth must: be a
50 depth>> of the elink:VkFormat of pname:{imageparam}
Dexpect-new-vuid-attribute-noreflow-novuid.adoc13 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
14 …greater than or equal to `0` and less than or equal to the depth of the specified pname:{imagesubr…
15 …lement of pname:pRegions, pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be `1`
25 …multiple of the <<formats-compatibility-classes,texel block extent depth>> of the elink:VkFormat o…
32 …and pname:extent.depth does not equal the depth of the subresource specified by pname:srcSubresour…
34 depth>> of the elink:VkFormat of pname:{imageparam}
Dexpect-new-vuid-attribute-noreflow.adoc15 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
16 …greater than or equal to `0` and less than or equal to the depth of the specified pname:{imagesubr…
18 …lement of pname:pRegions, pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be `1`
33 …multiple of the <<formats-compatibility-classes,texel block extent depth>> of the elink:VkFormat o…
43 …and pname:extent.depth does not equal the depth of the subresource specified by pname:srcSubresour…
45 depth>> of the elink:VkFormat of pname:{imageparam}
Dexpect-new-vuid-attribute-default.adoc16 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
17 greater than or equal to `0` and less than or equal to the depth of the
22 pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be
43 depth>> of the elink:VkFormat of pname:{imageparam}
58 and pname:extent.depth does not equal the depth of the subresource
59 specified by pname:srcSubresource, pname:extent.depth must: be a
61 depth>> of the elink:VkFormat of pname:{imageparam}
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_pack.py443 depth = format.block_size()
444 print(' uint%u_t value;' % (depth))
455 if shift + src_channel.size < depth:
457 print(' uint%u_t %s = %s;' % (depth, src_channel.name, value))
459 if shift + src_channel.size < depth:
461 lshift = depth - (shift + src_channel.size)
464 value = '(int%u_t)(%s) ' % (depth, value)
465 if src_channel.size < depth:
467 rshift = depth - src_channel.size
469 print(' int%u_t %s = %s;' % (depth, src_channel.name, value))
[all …]

12345678910>>...14