/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DepthStencilFormatsTest.cpp | 105 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 …]
|
D | ReadOnlyFeedbackLoopTest.cpp | 101 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcPolygonOffsetClampTests.cpp | 368 GLfloat depthValue = 0.0f; in test() local 383 depthValue = readDepthValue(gl, readDepthProgramId); in test() 426 result = result && verify(i, depthValue, depthValueOffset, depthValueOffsetClamp); in test() 457 GLfloat depthValue = 0.0f; in readDepthValue() local 461 gl.readPixels(0, 0, 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT, &depthValue); in readDepthValue() 495 depthValue = (GLfloat)(pixels[0] + pixels[1] * 256) / 0xFFFF; in readDepthValue() 502 return depthValue; in readDepthValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassDitheringTests.cpp | 83 const float depthValue = *(ptr); in createQuad() local 84 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), red}; in createQuad() 85 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, depthValue, 1.0f), green}; in createQuad() 86 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, depthValue, 1.0f), blue}; in createQuad() 87 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, depthValue, 1.0f), white}; in createQuad() 105 const float depthValue = *(ptr); in createQuad() local 106 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), color}; in createQuad() 107 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, depthValue, 1.0f), color}; in createQuad() 108 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, depthValue, 1.0f), color}; in createQuad() 109 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, depthValue, 1.0f), color}; in createQuad()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassDitheringTests.cpp | 83 const float depthValue = *(ptr); in createQuad() local 84 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), red}; in createQuad() 85 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, depthValue, 1.0f), green}; in createQuad() 86 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, depthValue, 1.0f), blue}; in createQuad() 87 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, depthValue, 1.0f), white}; in createQuad() 105 const float depthValue = *(ptr); in createQuad() local 106 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), color}; in createQuad() 107 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, depthValue, 1.0f), color}; in createQuad() 108 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, depthValue, 1.0f), color}; in createQuad() 109 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, depthValue, 1.0f), color}; in createQuad()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DepthStencilFormatsTest.cpp | 95 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()
|
D | ClearTest.cpp | 84 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/ |
D | rrShadingContext.hpp | 178 …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/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 41 clearParams.depthValue = state.getDepthClearValue(); in GetClearParameters() 134 clearParams.depthValue = values[0]; in clearBufferfv() 193 clearParams.depthValue = depth; in clearBufferfi()
|
D | FramebufferD3D.h | 46 float depthValue; member
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 50 clearParams.depthValue = state.getDepthClearValue(); in GetClearParameters() 128 clearParams.depthValue = values[0]; in clearBufferfv() 187 clearParams.depthValue = depth; in clearBufferfi()
|
D | FramebufferD3D.h | 49 float depthValue; member
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 857 float depthValue = (m_testMode == MODE_DEPTH) ? dsPixelAccess.getPixDepth(x, y, z) : 0.0f; in iterate() local 866 if (m_useEarlyTests && ((x + y) < 31) && depthValue >= 0.50 + tolerance) in iterate() 869 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " >= 0.5f"; in iterate() 874 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > tolerance) in iterate() 877 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " != 0.5f"; in iterate() 1632 float depthValue = (m_testMode == MODE_DEPTH) ? dsPixelAccess.getPixDepth(x, y, z) : 0.0f; in iterate() local 1639 if (m_useEarlyTests && ((x + y) < 31) && depthValue >= 0.5f) in iterate() 1642 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " >= 0.5f"; in iterate() 1647 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > 0.01f) in iterate() 1650 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " != 0.5f"; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 857 float depthValue = (m_testMode == MODE_DEPTH) ? dsPixelAccess.getPixDepth(x, y, z) : 0.0f; in iterate() local 866 if (m_useEarlyTests && ((x + y) < 31) && depthValue >= 0.50 + tolerance) in iterate() 869 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " >= 0.5f"; in iterate() 874 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > tolerance) in iterate() 877 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " != 0.5f"; in iterate() 1632 float depthValue = (m_testMode == MODE_DEPTH) ? dsPixelAccess.getPixDepth(x, y, z) : 0.0f; in iterate() local 1639 if (m_useEarlyTests && ((x + y) < 31) && depthValue >= 0.5f) in iterate() 1642 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " >= 0.5f"; in iterate() 1647 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > 0.01f) in iterate() 1650 … depth value [ "<< x << ", " << y << ", " << z << "] is not correct: " << depthValue << " != 0.5f"; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawDepthClampTests.cpp | 63 float depthValue; member 356 testVertices[i][2] = params.viewportData[0].depthValue; in DepthClampTestInstance() 741 depthValues += std::to_string(vd.depthValue) + ", "; in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawDepthClampTests.cpp | 63 float depthValue; member 356 testVertices[i][2] = params.viewportData[0].depthValue; in DepthClampTestInstance() 741 depthValues += std::to_string(vd.depthValue) + ", "; in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1530 for (int depthValue = 0; depthValue < DE_LENGTH_OF_ARRAY(depthBoundsValues); depthValue++) in createDepthRangeUnrestrictedTests() local 1532 testParams.minDepthBounds = -depthBoundsValues[depthValue]; in createDepthRangeUnrestrictedTests() 1533 testParams.maxDepthBounds = depthBoundsValues[depthValue]; in createDepthRangeUnrestrictedTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1530 for (int depthValue = 0; depthValue < DE_LENGTH_OF_ARRAY(depthBoundsValues); depthValue++) in createDepthRangeUnrestrictedTests() local 1532 testParams.minDepthBounds = -depthBoundsValues[depthValue]; in createDepthRangeUnrestrictedTests() 1533 testParams.maxDepthBounds = depthBoundsValues[depthValue]; in createDepthRangeUnrestrictedTests()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 591 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/ |
D | Clear11.cpp | 595 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/ |
D | vktRasterizationFragShaderSideEffectsTests.cpp | 85 float depthValue; member 186 …const float meshDepth = (m_params.depthBoundsParams ? m_params.depthBoundsParams.get().depthValue … in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
D | vktRasterizationFragShaderSideEffectsTests.cpp | 85 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/ |
D | DepthStencilSamplingTests.cpp | 254 float depthValue) { in UpdateInputDepth() argument 256 passDescriptor.cDepthStencilAttachmentInfo.clearDepth = depthValue; in UpdateInputDepth()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 1189 float depthValue; in verifyResultImage() local 1201 depthValue = m_params.clearValue[0].depthStencil.depth; in verifyResultImage() 1205 depthValue = m_params.initValue.depthStencil.depth; in verifyResultImage() 1210 if (!comparePixelToDepthClearValue(image->getLevel(0), x, y, z, depthValue, message)) in verifyResultImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 1189 float depthValue; in verifyResultImage() local 1201 depthValue = m_params.clearValue[0].depthStencil.depth; in verifyResultImage() 1205 depthValue = m_params.initValue.depthStencil.depth; in verifyResultImage() 1210 if (!comparePixelToDepthClearValue(image->getLevel(0), x, y, z, depthValue, message)) in verifyResultImage()
|