Home
last modified time | relevance | path

Searched refs:minDepth (Results 1 - 25 of 93) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DRenderPassEncoder.cpp164 float minDepth, in APISetViewport()
171 (isnan(x) || isnan(y) || isnan(width) || isnan(height) || isnan(minDepth) || in APISetViewport()
174 "minDepth: %f, maxDepth: %f) is NaN.", in APISetViewport()
175 x, y, width, height, minDepth, maxDepth); in APISetViewport()
191 DAWN_INVALID_IF(minDepth < 0 || minDepth > maxDepth || maxDepth > 1, in APISetViewport()
192 "Viewport minDepth (%f) and maxDepth (%f) are not in [0, 1] or " in APISetViewport()
193 "minDepth was " in APISetViewport()
195 minDepth, maxDepth); in APISetViewport()
203 cmd->minDepth in APISetViewport()
160 APISetViewport(float x, float y, float width, float height, float minDepth, float maxDepth) APISetViewport() argument
[all...]
H A DRenderPassEncoder.h54 float minDepth,
H A DCommands.h237 float x, y, width, height, minDepth, maxDepth; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A 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 const 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.maxDepth < 0.0f) in checkSupport()
774 const float minDepth in populateTestGroup() local
[all...]
H A DvktDrawDepthClampTests.cpp61 float minDepth; member
103 0.0f, // minDepth
117 0.0f, // minDepth
131 0.0f, // minDepth
145 0.0f, // minDepth
159 0.0f, // minDepth
173 -1.5f, // minDepth
189 0.0f, // minDepth
206 0.0f, // minDepth
212 0.9f, // minDepth
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A 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 const 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.maxDepth < 0.0f) in checkSupport()
774 const float minDepth in populateTestGroup() local
[all...]
H A DvktDrawDepthClampTests.cpp61 float minDepth; member
103 0.0f, // minDepth
117 0.0f, // minDepth
131 0.0f, // minDepth
145 0.0f, // minDepth
159 0.0f, // minDepth
173 -1.5f, // minDepth
189 0.0f, // minDepth
206 0.0f, // minDepth
212 0.9f, // minDepth
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_cs.c40 * pz = maxDepth - minDepth
48 data->f32[2] = (viewport->maxDepth - viewport->minDepth); in panvk_sysval_upload_viewport_scale()
58 * oz = minDepth
66 data->f32[2] = viewport->minDepth; in panvk_sysval_upload_viewport_offset()
H A Dpanvk_vX_cs.c568 assert(viewport->minDepth >= 0.0f && viewport->minDepth <= 1.0f); in emit_viewport()
576 cfg.minimum_z = MIN2(viewport->minDepth, viewport->maxDepth); in emit_viewport()
577 cfg.maximum_z = MAX2(viewport->minDepth, viewport->maxDepth); in emit_viewport()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A 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/skia/third_party/externals/swiftshader/src/Device/
H A 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/
H A DDynamicStateCommandValidationTests.cpp28 float minDepth, in TestViewportCall()
34 pass.SetViewport(x, y, width, height, minDepth, maxDepth); in TestViewportCall()
110 // Test to check that minDepth out of range [0, 1] is disallowed
120 // Test to check that minDepth out of range [0, 1] is disallowed
130 // Test to check that minDepth equal or greater than maxDepth is disallowed
23 TestViewportCall(bool success, float x, float y, float width, float height, float minDepth, float maxDepth) TestViewportCall() argument
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPURenderPassEncoder.cpp38 float minDepth, in setViewport()
40 enc_.SetViewport(x, y, width, height, minDepth, maxDepth); in setViewport()
33 setViewport(Napi::Env, float x, float y, float width, float height, float minDepth, float maxDepth) setViewport() argument
H A DGPURenderPassEncoder.h42 float minDepth,
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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 >= mState.pageSizeZ)) in isInPageSizesRange()
H A 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.pageSizeY, in verifyInvalidValueErrors()
H A Dgl4cSparseTexture2Tests.cpp1061 if (width > 0 && height > 0 && depth >= mState.minDepth) in writeDataToTexture()
1163 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth) in verifyTextureData()
1636 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth) in UncommittedDepthStencil()
1757 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth) in verifyTextureDataExtended()
2015 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth) in verifyAtomicOperations()
2764 if (width > 0 && height > 0 && depth >= mState.minDepth) in writeDataToTexture()
2873 if (widthCommitted == 0 || height == 0 || depth < mState.minDepth) in verifyLookupTextureData()
H A Dgl4cSparseTextureTests.hpp57 GLint minDepth; member
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/
H A Dbuild-ideal-tree.js59 #minDepth = 0
70 // no minDepth check needed, this branch is only reached when we are in
78 if (item.depth < this.#minDepth) {
79 this.#minDepth = item.depth
87 depth = this.#deps[this.#minDepth]
89 this.#minDepth++
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DIcuTextWriter.java114 private void closeLastPath(int minDepth, PrintWriter out) { in closeLastPath() argument
120 while (depth > minDepth) { in closeLastPath()
/third_party/mesa3d/src/microsoft/vulkan/
H A 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/
H A 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/
H A 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/
H A DGrVkMSAALoadManager.cpp155 viewport.minDepth = 0.0f; in loadMSAAFromResolve()
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_structs.h588 size += vn_sizeof_float(&val->minDepth); in vn_sizeof_VkViewport()
600 vn_encode_float(enc, &val->minDepth); in vn_encode_VkViewport()

Completed in 26 milliseconds

1234