Home | History | Annotate | Download | only in functional

Lines Matching refs:stencilRef

394 static bool compareStencilToRed (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& stencilRef, const tcu::ConstPixelBufferAccess& result)
399 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S);
400 DE_ASSERT(stencilRef.getWidth() == result.getWidth() && stencilRef.getHeight() == result.getHeight());
402 for (int y = 0; y < stencilRef.getHeight(); y++)
404 for (int x = 0; x < stencilRef.getWidth(); x++)
406 const int ref = stencilRef.getPixStencil(x, y);
427 log << TestLog::Image("Reference", "Reference stencil buffer", stencilToRedAccess(stencilRef));