Home
last modified time | relevance | path

Searched refs:maxStencilValue (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp764 const int maxStencilValue = 4; in verifyLayerContent() local
765 const float pass0stencil = static_cast<float>(1.0f / maxStencilValue); in verifyLayerContent()
766 const float pass1stencil = static_cast<float>(2.0f / maxStencilValue); in verifyLayerContent()
772 convertStencilToColorBufferAccess(image, stencilAsColor, maxStencilValue); in verifyLayerContent()
/external/angle/src/libANGLE/
DvalidationES.cpp3747 GLuint maxStencilValue = (1 << stencilBits) - 1; in ValidateDrawStates() local
3750 clamp(state.getStencilRef(), 0, static_cast<GLint>(maxStencilValue)) != in ValidateDrawStates()
3751 clamp(state.getStencilBackRef(), 0, static_cast<GLint>(maxStencilValue)); in ValidateDrawStates()
3752 bool differentWritemasks = (depthStencilState.stencilWritemask & maxStencilValue) != in ValidateDrawStates()
3753 (depthStencilState.stencilBackWritemask & maxStencilValue); in ValidateDrawStates()
3754 bool differentMasks = (depthStencilState.stencilMask & maxStencilValue) != in ValidateDrawStates()
3755 (depthStencilState.stencilBackMask & maxStencilValue); in ValidateDrawStates()