Home
last modified time | relevance | path

Searched refs:expectedDepth (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilLoadOpTests.cpp99 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() local
102 expectedDepth.data(), expectedDepth.size(), 0.0001)) in CheckMipLevel()
109 std::vector<uint16_t> expectedDepth(mipSize * mipSize, in CheckMipLevel() local
111 EXPECT_TEXTURE_EQ(expectedDepth.data(), texture, {0, 0}, {mipSize, mipSize}, in CheckMipLevel()
115 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() local
116 EXPECT_TEXTURE_EQ(expectedDepth.data(), texture, {0, 0}, {mipSize, mipSize}, in CheckMipLevel()
134 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() local
136 mipLevel, expectedDepth) in CheckMipLevel()
DSubresourceRenderAttachmentTests.cpp42 float expectedDepth = 0.3f; in DoSingleTest() local
59 renderPass.cDepthStencilAttachmentInfo.clearDepth = expectedDepth; in DoSingleTest()
87 std::vector<float> expected(renderTargetSize * renderTargetSize, expectedDepth); in DoSingleTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1038 float expectedDepth = clearValue; in verifyTestResult() local
1046 expectedDepth = 2 * (vertex->position.z() / vertex->position.w()) - 1.0f; in verifyTestResult()
1048 expectedDepth *= m_param.viewportMaxDepth; in verifyTestResult()
1053 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1055expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
1057 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1060 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()
1069 …float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth… in verifyTestResult() local
1073 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1075expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
[all …]
DvktPipelineExtendedDynamicStateTests.cpp1454 float expectedDepth; member
1592 , expectedDepth (1.0f) in TestConfig()
1687 , expectedDepth (other.expectedDepth) in TestConfig()
5151 const auto minDepth = m_testConfig.expectedDepth - dsFormatInfo->depthThreshold; in iterate()
5152 const auto maxDepth = m_testConfig.expectedDepth + dsFormatInfo->depthThreshold; in iterate()
6019 config.expectedDepth = 0.25f; in createExtendedDynamicStateTests()
6035 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests()
6052 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests()
6070 config.expectedDepth = 0.625f; in createExtendedDynamicStateTests()
6347 config.expectedDepth = (config.getActiveNegativeOneToOneValue() ? 0.75f : 0.5f); in createExtendedDynamicStateTests()
[all …]
DvktPipelineColorWriteEnableTests.cpp172 float expectedDepth; member
184 , expectedDepth (1.0f) in TestConfig()
982 const auto minDepth = m_testConfig.expectedDepth - 1.0e-07f; in iterate()
983 const auto maxDepth = m_testConfig.expectedDepth + 1.0e-07f; in iterate()
1077 config.expectedDepth = 0.25f; in AddSingleTestCaseStatic()
1121 config.expectedDepth = 0.25f; in AddSingleTestCaseDynamic()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1038 float expectedDepth = clearValue; in verifyTestResult() local
1046 expectedDepth = 2 * (vertex->position.z() / vertex->position.w()) - 1.0f; in verifyTestResult()
1048 expectedDepth *= m_param.viewportMaxDepth; in verifyTestResult()
1053 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1055expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
1057 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult()
1060 … "). Depth value " << depth.x() << ", expected " << expectedDepth << ", error " << fabs(expectedDe… in verifyTestResult()
1069 …float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth… in verifyTestResult() local
1073 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult()
1075expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult()
[all …]
DvktPipelineExtendedDynamicStateTests.cpp1454 float expectedDepth; member
1592 , expectedDepth (1.0f) in TestConfig()
1687 , expectedDepth (other.expectedDepth) in TestConfig()
5151 const auto minDepth = m_testConfig.expectedDepth - dsFormatInfo->depthThreshold; in iterate()
5152 const auto maxDepth = m_testConfig.expectedDepth + dsFormatInfo->depthThreshold; in iterate()
6019 config.expectedDepth = 0.25f; in createExtendedDynamicStateTests()
6035 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests()
6052 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests()
6070 config.expectedDepth = 0.625f; in createExtendedDynamicStateTests()
6347 config.expectedDepth = (config.getActiveNegativeOneToOneValue() ? 0.75f : 0.5f); in createExtendedDynamicStateTests()
[all …]
DvktPipelineColorWriteEnableTests.cpp172 float expectedDepth; member
184 , expectedDepth (1.0f) in TestConfig()
982 const auto minDepth = m_testConfig.expectedDepth - 1.0e-07f; in iterate()
983 const auto maxDepth = m_testConfig.expectedDepth + 1.0e-07f; in iterate()
1077 config.expectedDepth = 0.25f; in AddSingleTestCaseStatic()
1121 config.expectedDepth = 0.25f; in AddSingleTestCaseDynamic()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBuiltinVariableTest.cpp247 void CheckDepthWritten(float expectedDepth, float fsDepth) in CheckDepthWritten() argument
256 glClearDepthf(expectedDepth); in CheckDepthWritten()
DGeometryShaderTest.cpp77 const float expectedDepth[],
1064 const float expectedDepth[], in verifyLayeredFramebufferDepthStencil() argument
1110 drawQuad(drawColor, essl1_shaders::PositionAttrib(), expectedDepth[layer] * 2 - 1 - 0.01f); in verifyLayeredFramebufferDepthStencil()
1114 drawQuad(drawColor, essl1_shaders::PositionAttrib(), expectedDepth[layer] * 2 - 1 + 0.01f); in verifyLayeredFramebufferDepthStencil()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.h455 std::vector<float> expectedDepth,
464 std::vector<float> expectedDepth) { in ExpectAttachmentDepthTestData() argument
466 mipLevel, std::move(expectedDepth), nullptr); in ExpectAttachmentDepthTestData()
DDawnTest.cpp1284 std::vector<float> expectedDepth, in ExpectAttachmentDepthStencilTestData() argument
1296 if (expectedDepth.size() > 0) { in ExpectAttachmentDepthStencilTestData()
1312 queue.WriteTexture(&imageCopyTexture, expectedDepth.data(), in ExpectAttachmentDepthStencilTestData()
1313 sizeof(float) * expectedDepth.size(), &textureDataLayout, &copyExtent); in ExpectAttachmentDepthStencilTestData()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawMultipleClearsWithinRenderPass.cpp176 float expectedDepth; member
705 const float difference = m_params.expectedDepth - resultImage.getPixDepth(x,y,z); in iterate()
709 …msg << "Depth value mismatch, expected: " << m_params.expectedDepth << ", got: " << resultImage.ge… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultipleClearsWithinRenderPass.cpp176 float expectedDepth; member
705 const float difference = m_params.expectedDepth - resultImage.getPixDepth(x,y,z); in iterate()
709 …msg << "Depth value mismatch, expected: " << m_params.expectedDepth << ", got: " << resultImage.ge… in iterate()