Searched refs:maxStencilValue (Results 1 – 2 of 2) sorted by relevance
764 const int maxStencilValue = 4; in verifyLayerContent() local765 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()
3747 GLuint maxStencilValue = (1 << stencilBits) - 1; in ValidateDrawStates() local3750 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()