Home
last modified time | relevance | path

Searched refs:depthValue (Results 1 – 25 of 36) 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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPolygonOffsetClampTests.cpp368 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/
DvktRenderPassDitheringTests.cpp83 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/
DvktRenderPassDitheringTests.cpp83 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/
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/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/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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp857 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/
DvktFragmentOperationsEarlyFragmentTests.cpp857 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/
DvktDrawDepthClampTests.cpp63 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/
DvktDrawDepthClampTests.cpp63 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/
DvktPipelineDepthRangeUnrestrictedTests.cpp1530 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/
DvktPipelineDepthRangeUnrestrictedTests.cpp1530 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/
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/vk-gl-cts/external/vulkancts/modules_no_buildgn/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/modules/vulkan/api/
DvktApiImageClearingTests.cpp1189 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/
DvktApiImageClearingTests.cpp1189 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()

12