Home
last modified time | relevance | path

Searched refs:totalNumPixels (Results 1 – 3 of 3) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderWinding.cpp220 const int totalNumPixels = rendered.getWidth() * rendered.getHeight(); in iterate() local
231 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()
236 if (totalNumPixels - numWhitePixels - numRedPixels > badPixelTolerance) in iterate()
239 << totalNumPixels - numWhitePixels - numRedPixels in iterate()
251 if (de::abs(numWhitePixels - totalNumPixels / 2) > badPixelTolerance) in iterate()
255 << totalNumPixels / 2 << tcu::TestLog::EndMessage; in iterate()
262 if (numWhitePixels != totalNumPixels) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationWindingTests.cpp88 const int totalNumPixels = image.getWidth()*image.getHeight(); in verifyResultImage() local
104 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in verifyResultImage()
109 const int otherPixels = totalNumPixels - numWhitePixels - numRedPixels; in verifyResultImage()
125 if (de::abs(numWhitePixels - totalNumPixels/2) > badPixelTolerance) in verifyResultImage()
127 … "Failure: wrong number of white pixels; expected approximately " << totalNumPixels/2 << tcu::Test… in verifyResultImage()
168 if (numWhitePixels != totalNumPixels) in verifyResultImage()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTessellationTests.cpp2888 const int totalNumPixels = rendered.getWidth()*rendered.getHeight(); in iterate() local
2900 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()
2904 if (totalNumPixels - numWhitePixels - numRedPixels > badPixelTolerance) in iterate()
2906 …log << TestLog::Message << "Failure: Got " << totalNumPixels - numWhitePixels - numRedPixels << " … in iterate()
2915 if (de::abs(numWhitePixels - totalNumPixels/2) > badPixelTolerance) in iterate()
2917 … "Failure: wrong number of white pixels; expected approximately " << totalNumPixels/2 << TestLog::… in iterate()
2924 if (numWhitePixels != totalNumPixels) in iterate()