Home
last modified time | relevance | path

Searched refs:minDepth (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp164 float minDepth, in APISetViewport() argument
171 (isnan(x) || isnan(y) || isnan(width) || isnan(height) || isnan(minDepth) || in APISetViewport()
175 x, y, width, height, minDepth, maxDepth); in APISetViewport()
191 DAWN_INVALID_IF(minDepth < 0 || minDepth > maxDepth || maxDepth > 1, in APISetViewport()
195 minDepth, maxDepth); in APISetViewport()
203 cmd->minDepth = minDepth; in APISetViewport()
208 "encoding %s.SetViewport(%f, %f, %f, %f, %f, %f).", this, x, y, width, height, minDepth, in APISetViewport()
DRenderPassEncoder.h54 float minDepth,
DCommands.h237 float x, y, width, height, minDepth, maxDepth; member
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp148 float minDepth, in SetViewport() argument
154 if (isnan(x) || isnan(y) || isnan(width) || isnan(height) || isnan(minDepth) || in SetViewport()
168 if (minDepth < 0 || minDepth > 1 || maxDepth < 0 || maxDepth > 1) { in SetViewport()
178 cmd->minDepth = minDepth; in SetViewport()
DRenderPassEncoder.h57 float minDepth,
DCommands.h197 float x, y, width, height, minDepth, maxDepth; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawInvertedDepthRangesTests.cpp63 float minDepth; member
380 const float clampMin = de::min(m_params.minDepth, m_params.maxDepth); in generateReferenceImage()
381 const float clampMax = de::max(m_params.minDepth, m_params.maxDepth); in generateReferenceImage()
411 if (m_params.maxDepth < m_params.minDepth) in generateReferenceImage()
439 …t float depthFinal = depthClamped * m_params.maxDepth + (1.0f - depthClamped) * m_params.minDepth; in generateReferenceImage()
517 m_params.minDepth, // float minDepth; in iterate()
721 …if (m_params.minDepth > 1.0f || m_params.minDepth < 0.0f || m_params.maxDepth > 1.0f || m_params.m… in checkSupport()
774 const float minDepth = 0.5f + cDepthParams.delta / 2.0f; in populateTestGroup() local
775 const float maxDepth = minDepth - cDepthParams.delta; in populateTestGroup()
776 DE_ASSERT(minDepth >= maxDepth); in populateTestGroup()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawInvertedDepthRangesTests.cpp63 float minDepth; member
380 const float clampMin = de::min(m_params.minDepth, m_params.maxDepth); in generateReferenceImage()
381 const float clampMax = de::max(m_params.minDepth, m_params.maxDepth); in generateReferenceImage()
411 if (m_params.maxDepth < m_params.minDepth) in generateReferenceImage()
439 …t float depthFinal = depthClamped * m_params.maxDepth + (1.0f - depthClamped) * m_params.minDepth; in generateReferenceImage()
517 m_params.minDepth, // float minDepth; in iterate()
721 …if (m_params.minDepth > 1.0f || m_params.minDepth < 0.0f || m_params.maxDepth > 1.0f || m_params.m… in checkSupport()
774 const float minDepth = 0.5f + cDepthParams.delta / 2.0f; in populateTestGroup() local
775 const float maxDepth = minDepth - cDepthParams.delta; in populateTestGroup()
776 DE_ASSERT(minDepth >= maxDepth); in populateTestGroup()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DViewportTests.cpp91 void TestViewportDepth(float minDepth, float maxDepth, bool doViewportCall = true) { in TestViewportDepth() argument
126 pass.SetViewport(0, 0, 3, 1, minDepth, maxDepth); in TestViewportDepth()
137 (maxDepth + minDepth) / 2, in TestViewportDepth()
138 minDepth, in TestViewportDepth()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_depth_range_unrestricted.txt17 This extension removes the slink:VkViewport pname:minDepth and
30 1) How do slink:VkViewport pname:minDepth and pname:maxDepth values outside
39 values are instead clamped to the slink:VkViewport pname:minDepth and
DVK_EXT_depth_range_unrestricted.adoc17 This extension removes the slink:VkViewport pname:minDepth and
30 1) How do slink:VkViewport pname:minDepth and pname:maxDepth values outside
39 values are instead clamped to the slink:VkViewport pname:minDepth and
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_cs.c48 data->f32[2] = (viewport->maxDepth - viewport->minDepth); in panvk_sysval_upload_viewport_scale()
66 data->f32[2] = viewport->minDepth; in panvk_sysval_upload_viewport_offset()
Dpanvk_vX_cs.c568 assert(viewport->minDepth >= 0.0f && viewport->minDepth <= 1.0f); in panvk_per_arch()
576 cfg.minimum_z = MIN2(viewport->minDepth, viewport->maxDepth); in panvk_per_arch()
577 cfg.maximum_z = MAX2(viewport->minDepth, viewport->maxDepth); in panvk_per_arch()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DPixelProcessor.cpp122 state.minDepthClamp = min(viewport.minDepth, viewport.maxDepth); in update()
123 state.maxDepthClamp = max(viewport.minDepth, viewport.maxDepth); in update()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DDynamicStateCommandValidationTests.cpp28 float minDepth, in TestViewportCall() argument
34 pass.SetViewport(x, y, width, height, minDepth, maxDepth); in TestViewportCall()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cSparseTextureClampTests.cpp300 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth) in verifyLookupTextureData()
720 if (width > 0 && height > 0 && depth >= mState.minDepth) in writeDataToTexture()
815 if (width == 0 || height == 0 || depth < mState.minDepth) in verifyLookupTextureData()
991 mState.minDepth = SparseTextureUtils::getTargetDepth(target); in prepareTexture()
1005 mState.depth = 4 * mState.pageSizeZ * mState.minDepth; in prepareTexture()
1069 …if (width >= mState.pageSizeX && height >= mState.pageSizeY && (mState.minDepth == 0 || depth >= m… in isInPageSizesRange()
Dgl4cSparseTextureTests.cpp1810 mState.minDepth = SparseTextureUtils::getTargetDepth(target); in prepareTexture()
1824 mState.depth = 2 * mState.pageSizeZ * mState.minDepth; in prepareTexture()
1916 if (width > 0 && height > 0 && depth >= mState.minDepth) in writeDataToTexture()
1965 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth) in verifyTextureData()
2114 (mState.minDepth == 0 || depth >= mState.pageSizeZ)) in isInPageSizesRange()
2253 mState.minDepth, GL_TRUE); in verifyInvalidOperationErrors()
2309 (mState.minDepth % mState.pageSizeZ)) in verifyInvalidValueErrors()
2311 …texPageCommitment(gl, target, format, texture, 0, 0, 0, mState.minDepth, mState.pageSizeX, mState.… in verifyInvalidValueErrors()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPURenderPassEncoder.cpp38 float minDepth, in setViewport() argument
40 enc_.SetViewport(x, y, width, height, minDepth, maxDepth); in setViewport()
DGPURenderPassEncoder.h42 float minDepth,
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DViewportTests.cpp88 float x, y, width, height, minDepth, maxDepth; member
128 viewport.minDepth, viewport.maxDepth); in DoTest()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DIcuTextWriter.java114 private void closeLastPath(int minDepth, PrintWriter out) { in closeLastPath() argument
120 while (depth > minDepth) { in closeLastPath()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_util.c285 out->MinDepth = MIN2(in->minDepth, in->maxDepth); in dzn_translate_viewport()
286 out->MaxDepth = MAX2(in->maxDepth, in->minDepth); in dzn_translate_viewport()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c689 vp->minDepth = range_min; in get_viewport_prescale()
726 ret = SVGA3D_SetZRange(svga->swc, vp->minDepth, vp->maxDepth); in emit_viewport()
731 svga->state.hw_clear.depthrange.zmin = vp->minDepth; in emit_viewport()
/third_party/vk-gl-cts/modules/egl/
DteglRenderTests.cpp152 const float minDepth = -1.0f; // \todo [pyry] Reference doesn't support Z clipping yet in randomizeDrawOp() local
185 position.z() = rnd.getFloat(minDepth, maxDepth); in randomizeDrawOp()
211 p1.z() = rnd.getFloat(minDepth, maxDepth); in randomizeDrawOp()
216 p2.z() = rnd.getFloat(minDepth, maxDepth); in randomizeDrawOp()
/third_party/skia/src/gpu/vk/
DGrVkMSAALoadManager.cpp155 viewport.minDepth = 0.0f; in loadMSAAFromResolve()

123456