/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | DepthStencilLoadOpTests.cpp | 99 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()
|
D | SubresourceRenderAttachmentTests.cpp | 42 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/ |
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1038 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() 1055 …expectedDepth = 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() 1075 …expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult() [all …]
|
D | vktPipelineExtendedDynamicStateTests.cpp | 1454 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 …]
|
D | vktPipelineColorWriteEnableTests.cpp | 172 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/ |
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1038 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() 1055 …expectedDepth = 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() 1075 …expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDe… in verifyTestResult() [all …]
|
D | vktPipelineExtendedDynamicStateTests.cpp | 1454 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 …]
|
D | vktPipelineColorWriteEnableTests.cpp | 172 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/ |
D | BuiltinVariableTest.cpp | 247 void CheckDepthWritten(float expectedDepth, float fsDepth) in CheckDepthWritten() argument 256 glClearDepthf(expectedDepth); in CheckDepthWritten()
|
D | GeometryShaderTest.cpp | 77 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/ |
D | DawnTest.h | 455 std::vector<float> expectedDepth, 464 std::vector<float> expectedDepth) { in ExpectAttachmentDepthTestData() argument 466 mipLevel, std::move(expectedDepth), nullptr); in ExpectAttachmentDepthTestData()
|
D | DawnTest.cpp | 1284 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, ©Extent); in ExpectAttachmentDepthStencilTestData()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawMultipleClearsWithinRenderPass.cpp | 176 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/ |
D | vktDrawMultipleClearsWithinRenderPass.cpp | 176 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()
|