Home
last modified time | relevance | path

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

/external/angle/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()
1014 float depthValue = 0.98f; in TEST_P() local
1015 drawQuad(programRed.get(), essl1_shaders::PositionAttrib(), depthValue * 2 - 1); in TEST_P()
1019 depthValue = 1.0f; in TEST_P()
1020 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()
/external/deqp/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()
/external/deqp/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()
/external/angle/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
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawDepthClampTests.cpp59 float depthValue; member
231 testVertices[i][2] = params.depthValue; in DepthClampTestInstance()
/external/deqp/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()
/external/angle/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()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp86 float depthValue; member
190 …const float meshDepth = (m_params.depthBoundsParams ? m_params.depthBoundsParams.get().depthValue in initPrograms()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp300 float depthValue,
DvkImageUtil.cpp4625 float depthValue, in clearDepthStencilImage() argument
4634 …const VkClearDepthStencilValue clearValue = makeClearValueDepthStencil(depthValue, stencilValue)… in clearDepthStencilImage()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp1168 float depthValue; in verifyResultImage() local
1174 depthValue = m_params.clearValue[0].depthStencil.depth; in verifyResultImage()
1178 depthValue = m_params.initValue.depthStencil.depth; in verifyResultImage()
1183 if (!comparePixelToDepthClearValue(image->getLevel(0), x, y, depthValue, message)) in verifyResultImage()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c3480 GLfloat depthValue = 0.0f; in cleartexsubimage_depth_stencil() local
3510 memcpy(&depthValue, depthStencilValue, sizeof depthValue); in cleartexsubimage_depth_stencil()
3514 clearValue, &depthValue); in cleartexsubimage_depth_stencil()
3519 _mesa_ClearBufferfi(GL_DEPTH_STENCIL, 0, depthValue, stencilValue); in cleartexsubimage_depth_stencil()
3521 _mesa_ClearBufferfv(GL_DEPTH, 0, &depthValue); in cleartexsubimage_depth_stencil()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp1419 const float depthValue = 1.0f; in testLayeredReadBack() local
1425 fillBuffer(vk, device, *depthBufferAlloc, bufferOffset, bufferSliceSize, dsFormat, depthValue); in testLayeredReadBack()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp2805 …float depthValue = ((x / tileSize) % 2 != (y / tileSize) % 2) ? depthInitValues[0] : depthInitValu… in iterateInternal() local
2806 referenceDepthAccess.setPixDepth(depthValue, x, y, 0); in iterateInternal()
2807 referenceStencilAccess.setPixel(tcu::IVec4(0.5f < depthValue ? stencilRefValue : 0), x, y, 0); in iterateInternal()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp1921 float depth = gl::clamp01(clearParams.depthValue); in clear()