Home
last modified time | relevance | path

Searched refs:numWhitePixels (Results 1 – 4 of 4) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderWinding.cpp222 int numWhitePixels = 0; in iterate() local
227 numWhitePixels += rendered.getPixel(x, y) == tcu::RGBA::white() ? 1 : 0; in iterate()
231 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()
233 m_testCtx.getLog() << tcu::TestLog::Message << "Note: got " << numWhitePixels << " white and " 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()
262 if (numWhitePixels != totalNumPixels) in iterate()
274 if (numWhitePixels != 0) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationWindingTests.cpp95 int numWhitePixels = 0; in verifyResultImage() local
102 numWhitePixels += image.getPixel(x, y) == white ? 1 : 0; in verifyResultImage()
106 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in verifyResultImage()
108 …log << tcu::TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels <<… in verifyResultImage()
111 const int otherPixels = totalNumPixels - numWhitePixels - numRedPixels; in verifyResultImage()
127 if (de::abs(numWhitePixels - totalNumPixels/2) > badPixelTolerance) in verifyResultImage()
170 if (numWhitePixels != totalNumPixels) in verifyResultImage()
181 if (numWhitePixels != 0) in verifyResultImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationWindingTests.cpp95 int numWhitePixels = 0; in verifyResultImage() local
102 numWhitePixels += image.getPixel(x, y) == white ? 1 : 0; in verifyResultImage()
106 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in verifyResultImage()
108 …log << tcu::TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels <<… in verifyResultImage()
111 const int otherPixels = totalNumPixels - numWhitePixels - numRedPixels; in verifyResultImage()
127 if (de::abs(numWhitePixels - totalNumPixels/2) > badPixelTolerance) in verifyResultImage()
170 if (numWhitePixels != totalNumPixels) in verifyResultImage()
181 if (numWhitePixels != 0) in verifyResultImage()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTessellationTests.cpp2891 int numWhitePixels = 0; in iterate() local
2896 numWhitePixels += rendered.getPixel(x, y) == tcu::RGBA::white() ? 1 : 0; in iterate()
2900 DE_ASSERT(numWhitePixels + numRedPixels <= totalNumPixels); in iterate()
2902 …log << TestLog::Message << "Note: got " << numWhitePixels << " white and " << numRedPixels << " re… 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()
2924 if (numWhitePixels != totalNumPixels) in iterate()
2936 if (numWhitePixels != 0) in iterate()