Home
last modified time | relevance | path

Searched refs:depthValue (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp105 float depthValue = 1.0f; in verifyDepthRenderBuffer() local
106 drawQuad(programRed.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in verifyDepthRenderBuffer()
114 depthValue = 0.98f; in verifyDepthRenderBuffer()
115 drawQuad(programGreen.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in verifyDepthRenderBuffer()
125 depthValue = 0.01f; in verifyDepthRenderBuffer()
126 drawQuad(programBlue.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in verifyDepthRenderBuffer()
1005 float depthValue = 0.98f; in TEST_P() local
1006 drawQuad(programRed.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in TEST_P()
1010 depthValue = 1.0f; in TEST_P()
1011 drawQuad(programRed.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in TEST_P()
[all …]
DReadOnlyFeedbackLoopTest.cpp101 const GLfloat depthValue = 0.0f; in TEST_P() local
102 drawQuad(colorFillProgram, essl1_shaders::PositionAttrib(), depthValue, 0.6f); in TEST_P()
145 GLint depthColorValue = (depthValue)*128 + 128; in TEST_P()
DClearTest.cpp65 void verifyDepth(float depthValue, uint32_t size) in verifyDepth() argument
74 drawQuad(depthTestProgram, essl1_shaders::PositionAttrib(), depthValue * 2 - 1 - 0.01f); in verifyDepth()
75 drawQuad(depthTestProgramFail, essl1_shaders::PositionAttrib(), depthValue * 2 - 1 + 0.01f); in verifyDepth()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPolygonOffsetClampTests.cpp362 GLfloat depthValue = 0.0f; in test() local
377 depthValue = readDepthValue(gl, readDepthProgramId); in test()
420 result = result && verify(i, depthValue, depthValueOffset, depthValueOffsetClamp); in test()
451 GLfloat depthValue = 0.0f; in readDepthValue() local
455 gl.readPixels(0, 0, 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT, &depthValue); in readDepthValue()
489 depthValue = (GLfloat)(pixels[0] + pixels[1] * 256) / 0xFFFF; in readDepthValue()
496 return depthValue; in readDepthValue()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp95 float depthValue = 1.0f; in verifyDepthRenderBuffer() local
96 drawQuad(programRed.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in verifyDepthRenderBuffer()
104 depthValue = 0.98f; in verifyDepthRenderBuffer()
105 drawQuad(programGreen.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in verifyDepthRenderBuffer()
115 depthValue = 0.01f; in verifyDepthRenderBuffer()
116 drawQuad(programBlue.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in verifyDepthRenderBuffer()
DClearTest.cpp84 void verifyDepth(float depthValue, uint32_t size) in verifyDepth() argument
93 drawQuad(depthTestProgram, essl1_shaders::PositionAttrib(), depthValue * 2 - 1 - 0.01f); in verifyDepth()
94 drawQuad(depthTestProgramFail, essl1_shaders::PositionAttrib(), depthValue * 2 - 1 + 0.01f); in verifyDepth()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrShadingContext.hpp178 …const FragmentShadingContext& context, int packetNdx, int fragNdx, int sampleNdx, float depthValue) in writeFragmentDepth() argument
182 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp50 clearParams.depthValue = state.getDepthClearValue(); in GetClearParameters()
128 clearParams.depthValue = values[0]; in clearBufferfv()
187 clearParams.depthValue = depth; in clearBufferfi()
DFramebufferD3D.h49 float depthValue; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp41 clearParams.depthValue = state.getDepthClearValue(); in GetClearParameters()
134 clearParams.depthValue = values[0]; in clearBufferfv()
193 clearParams.depthValue = depth; in clearBufferfi()
DFramebufferD3D.h46 float depthValue; member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp754 float depthValue = (m_testMode == MODE_DEPTH) ? dsPixelAccess.getPixDepth(x, y, z) : 0.0f; in iterate() local
763 if (m_useEarlyTests && ((x + y) < 31) && depthValue >= 0.50 + tolerance) in iterate()
766 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " >= 0.5f"; in iterate()
771 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > tolerance) in iterate()
774 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " != 0.5f"; in iterate()
1471 float depthValue = (m_testMode == MODE_DEPTH) ? dsPixelAccess.getPixDepth(x, y, z) : 0.0f; in iterate() local
1478 if (m_useEarlyTests && ((x + y) < 31) && depthValue >= 0.5f) in iterate()
1481 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " >= 0.5f"; in iterate()
1486 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > 0.01f) in iterate()
1489 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " != 0.5f"; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawDepthClampTests.cpp63 float depthValue; member
348 testVertices[i][2] = params.viewportData[0].depthValue; in DepthClampTestInstance()
637 depthValues += std::to_string(vd.depthValue) + ", "; in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1584 for (int depthValue = 0; depthValue < DE_LENGTH_OF_ARRAY(depthBoundsValues); depthValue++) in createDepthRangeUnrestrictedTests() local
1586 testParams.minDepthBounds = -depthBoundsValues[depthValue]; in createDepthRangeUnrestrictedTests()
1587 testParams.maxDepthBounds = depthBoundsValues[depthValue]; in createDepthRangeUnrestrictedTests()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp591 const FLOAT depthClear = gl::clamp01(clearParams.depthValue); in clearFramebuffer()
664 zValue = clearParams.clearDepth ? &clearParams.depthValue : nullptr; in clearFramebuffer()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp595 const FLOAT depthClear = gl::clamp01(clearParams.depthValue); in clearFramebuffer()
667 zValue = clearParams.clearDepth ? &clearParams.depthValue : nullptr; in clearFramebuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp85 float depthValue; member
186 …const float meshDepth = (m_params.depthBoundsParams ? m_params.depthBoundsParams.get().depthValue in initPrograms()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilSamplingTests.cpp254 float depthValue) { in UpdateInputDepth() argument
256 passDescriptor.cDepthStencilAttachmentInfo.clearDepth = depthValue; in UpdateInputDepth()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp332 float depthValue,
DvkImageUtil.cpp4791 float depthValue, in clearDepthStencilImage() argument
4800 …const VkClearDepthStencilValue clearValue = makeClearValueDepthStencil(depthValue, stencilValue)… in clearDepthStencilImage()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.c3482 GLfloat depthValue = 0.0f; in cleartexsubimage_depth_stencil() local
3512 memcpy(&depthValue, depthStencilValue, sizeof depthValue); in cleartexsubimage_depth_stencil()
3516 clearValue, &depthValue); in cleartexsubimage_depth_stencil()
3521 _mesa_ClearBufferfi(GL_DEPTH_STENCIL, 0, depthValue, stencilValue); in cleartexsubimage_depth_stencil()
3523 _mesa_ClearBufferfv(GL_DEPTH, 0, &depthValue); in cleartexsubimage_depth_stencil()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp1183 float depthValue; in verifyResultImage() local
1189 depthValue = m_params.clearValue[0].depthStencil.depth; in verifyResultImage()
1193 depthValue = m_params.initValue.depthStencil.depth; in verifyResultImage()
1198 if (!comparePixelToDepthClearValue(image->getLevel(0), x, y, depthValue, message)) in verifyResultImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp1420 const float depthValue = 1.0f; in testLayeredReadBack() local
1426 fillBuffer(vk, device, *depthBufferAlloc, bufferOffset, bufferSliceSize, dsFormat, depthValue); in testLayeredReadBack()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp2829 …float depthValue = ((x / tileSize) % 2 != (y / tileSize) % 2) ? depthInitValues[0] : depthInitValu… in iterateInternal() local
2830 referenceDepthAccess.setPixDepth(depthValue, x, y, 0); in iterateInternal()
2831 referenceStencilAccess.setPixel(tcu::IVec4(0.5f < depthValue ? stencilRefValue : 0), x, y, 0); in iterateInternal()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp1888 float depth = gl::clamp01(clearParams.depthValue); in clear()

12