/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | DepthStencilLoadOpTests.cpp | 99 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() 102 expectedDepth.data(), expectedDepth.size(), 0.0001)) in CheckMipLevel() 109 std::vector<uint16_t> expectedDepth(mipSize * mipSize, in CheckMipLevel() 111 EXPECT_TEXTURE_EQ(expectedDepth.data(), texture, {0, 0}, {mipSize, mipSize}, in CheckMipLevel() 115 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() 116 EXPECT_TEXTURE_EQ(expectedDepth.data(), texture, {0, 0}, {mipSize, mipSize}, in CheckMipLevel() 134 std::vector<float> expectedDepth(mipSize * mipSize, kDepthValues[mipLevel]); in CheckMipLevel() 136 mipLevel, expectedDepth) in CheckMipLevel()
|
H A 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/vulkan/pipeline/ |
H A D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1043 float expectedDepth = clearValue; in verifyTestResult() local 1051 expectedDepth = 2 * (vertex->position.z() / vertex->position.w()) - 1.0f; in verifyTestResult() 1053 expectedDepth *= m_param.viewportMaxDepth; in verifyTestResult() 1058 expectedDepth = de::min(de::max(expectedDepth, 0.0f), 1.0f); in verifyTestResult() 1060 expectedDepth = compareDepthResult(m_param.depthCompareOp, expectedDepth, clearValue) ? expectedDepth : clearValue; in verifyTestResult() 1062 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult() 1065 << "). Depth value " << depth.x() << ", expected " << expectedDepth << ", erro in verifyTestResult() 1074 float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth); verifyTestResult() local 1324 float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth); verifyTestResult() local [all...] |
H A D | vktPipelineExtendedDynamicStateTests.cpp | 1852 float expectedDepth; member 2031 , expectedDepth (1.0f) in TestConfig() 2145 , expectedDepth (other.expectedDepth) in TestConfig() 6203 const auto minDepth = m_testConfig.expectedDepth - dsFormatInfo->depthThreshold - m_testConfig.extraDepthThreshold; in iterate() 6204 const auto maxDepth = m_testConfig.expectedDepth + dsFormatInfo->depthThreshold + m_testConfig.extraDepthThreshold; in iterate() 7429 config.expectedDepth = 0.25f; in createExtendedDynamicStateTests() 7446 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests() 7464 config.expectedDepth = 0.5f; in createExtendedDynamicStateTests() 7483 config.expectedDepth in createExtendedDynamicStateTests() [all...] |
H A D | vktPipelineColorWriteEnableTests.cpp | 174 float expectedDepth; member 186 , expectedDepth (1.0f) in TestConfig() 990 const auto minDepth = m_testConfig.expectedDepth - 1.0e-07f; in iterate() 991 const auto maxDepth = m_testConfig.expectedDepth + 1.0e-07f; in iterate() 1084 config.expectedDepth = 0.25f; in AddSingleTestCaseStatic() 1127 config.expectedDepth = 0.25f; in AddSingleTestCaseDynamic()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A 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) ? expectedDepth : clearValue; in verifyTestResult() 1057 if (fabs(expectedDepth - depth.x()) > epsilon) in verifyTestResult() 1060 << "). Depth value " << depth.x() << ", expected " << expectedDepth << ", erro in verifyTestResult() 1069 float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth); verifyTestResult() local 1317 float expectedDepth = de::min(de::max(scaling, m_param.viewportMinDepth), m_param.viewportMaxDepth); verifyTestResult() local [all...] |
H A 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 in createExtendedDynamicStateTests() [all...] |
H A 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/ |
H A D | BuiltinVariableTest.cpp | 247 void CheckDepthWritten(float expectedDepth, float fsDepth) in CheckDepthWritten() argument 256 glClearDepthf(expectedDepth); in CheckDepthWritten()
|
H A D | GeometryShaderTest.cpp | 77 const float expectedDepth[], 1064 const float expectedDepth[], 1110 drawQuad(drawColor, essl1_shaders::PositionAttrib(), expectedDepth[layer] * 2 - 1 - 0.01f); 1114 drawQuad(drawColor, essl1_shaders::PositionAttrib(), expectedDepth[layer] * 2 - 1 + 0.01f);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationDepthBiasControlTests.cpp | 616 const float expectedDepth = sampleDepth + clampedBias; // Must match vertex depth + actual bias. in iterate() local 617 tcu::clearDepth(depthReferenceAccess, expectedDepth); in iterate() 626 const float depthThreshold = static_cast<float>(constantBiasErrorThres + getDepthErrorThreshold(tcuDepthFormat, expectedDepth)); in iterate() 647 log << tcu::TestLog::Message << "Depth buffer failed: expected " << expectedDepth << " (threshold " << depthThreshold in iterate()
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
H A D | DawnTest.h | 455 std::vector<float> expectedDepth, 464 std::vector<float> expectedDepth) { in ExpectAttachmentDepthTestData() 466 mipLevel, std::move(expectedDepth), nullptr); in ExpectAttachmentDepthTestData() 458 ExpectAttachmentDepthTestData(wgpu::Texture texture, wgpu::TextureFormat format, uint32_t width, uint32_t height, uint32_t arrayLayer, uint32_t mipLevel, std::vector<float> expectedDepth) ExpectAttachmentDepthTestData() argument
|
H A D | DawnTest.cpp | 1284 std::vector<float> expectedDepth, 1296 if (expectedDepth.size() > 0) { 1312 queue.WriteTexture(&imageCopyTexture, expectedDepth.data(), 1313 sizeof(float) * expectedDepth.size(), &textureDataLayout, ©Extent);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A 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.getPixDepth(x,y,z) << " at " << "(" << x << ", " << y << ", " << z << ")"; in iterate() 844 0.9f, // float expectedDepth; in init() 866 0.9f, // float expectedDepth; in init() 888 0.9f, // float expectedDepth; in init() 910 0.9f, // float expectedDepth; in init() 931 0.9f, // float expectedDepth; in init() 952 0.9f, // float expectedDepth; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A 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.getPixDepth(x,y,z) << " at " << "(" << x << ", " << y << ", " << z << ")"; in iterate() 839 0.9f, // float expectedDepth; in init() 860 0.9f, // float expectedDepth; in init() 881 0.9f, // float expectedDepth; in init() 902 0.9f, // float expectedDepth; in init() 922 0.9f, // float expectedDepth; in init() 942 0.9f, // float expectedDepth; in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktDynamicRenderingUnusedAttachmentsTests.cpp | 941 const float expectedDepth = (layerWritten ? 1.0f : 0.0f); // Needs to match the vertex shader and depth/stencil config. in iterate() local 946 tcu::clearDepth(refAccess, expectedDepth); in iterate()
|
H A D | vktDynamicRenderingTests.cpp | 3607 const float expectedDepth = usesDepth ? clearValue.depthStencil.depth : depthStencilClear.depth; in baseTest() local 3706 reference.getAccess().setPixDepth(expectedDepth, x, y, z); in baseTest()
|