Searched refs:getStateCache (Results 1 – 19 of 19) sorted by relevance
334 if (!context->getStateCache().isValidDrawMode(mode)) in ValidateDrawBase()340 intptr_t drawStatesError = context->getStateCache().getBasicDrawStatesError(context); in ValidateDrawBase()602 context->getStateCache().getVertexAttribTypeValidation(type)); in ValidateFloatVertexFormat()611 context, index, size, context->getStateCache().getIntegerVertexAttribTypeValidation(type)); in ValidateIntegerVertexFormat()771 if (maxVertex > context->getStateCache().getNonInstancedVertexElementLimit()) in ValidateDrawAttribs()810 if ((primcount - 1) > context->getStateCache().getInstancedVertexElementLimit()) in ValidateDrawInstancedAttribs()848 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in ValidateDrawArraysCommon()866 if (!context->getStateCache().isValidDrawElementsType(type)) in ValidateDrawElementsBase()879 intptr_t drawElementsError = context->getStateCache().getBasicDrawElementsError(context); in ValidateDrawElementsBase()
42 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in MarkTransformFeedbackBufferUsage()51 for (size_t index : context->getStateCache().getActiveShaderStorageBufferIndices()) in MarkShaderStorageBufferUsage()
132 if (!context->getStateCache().isValidBindTextureType(target)) in ValidateBindTexture()
587 const StateCache &getStateCache() const { return mStateCache; } in getStateCache() function588 StateCache &getStateCache() { return mStateCache; } in getStateCache() function
644 const AttributesMask &activeAttribues = context->getStateCache().getActiveBufferedAttribsMask(); in hasTransformFeedbackBindingConflict()
2934 if (context->getStateCache().hasAnyEnabledClientAttrib()) in ValidateDrawStates()3155 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in ValidateDrawElementsStates()6827 if (context->getStateCache().getNonInstancedVertexElementLimit() == in RecordDrawAttribsError()6829 context->getStateCache().getInstancedVertexElementLimit() == in RecordDrawAttribsError()
3479 if (context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureClientData()3493 if (context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureClientData()3730 for (size_t attribIndex : context->getStateCache().getActiveClientAttribsMask()) in captureClientArraySnapshot()
447 if (context->getStateCache().hasAnyActiveClientAttrib()) in ValidateDrawIndirectBase()
1999 context->getStateCache().onVertexArrayStateChange(context); in detachBuffer()
6797 ASSERT(!context->getStateCache().isValidBindTextureType(target)); in RecordBindTextureTypeError()
258 context->getStateCache().getActiveBufferedAttribsMask(); in handleLineLoopIndirectDraw()698 context->getStateCache().getActiveClientAttribsMask() | in updateStreamedAttribs()699 context->getStateCache().getActiveBufferedAttribsMask(); in updateStreamedAttribs()
2571 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in invalidateProgramExecutableHelper()2807 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in syncState()
110 mtl::StateCache &getStateCache() { return mStateCache; } in getStateCache() function
418 return contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl);443 return contextMtl->getDisplay()->getStateCache().getDepthStencilState(665 contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl));
980 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1380 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1389 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1433 if (context->getStateCache().hasAnyActiveClientAttrib())
342 const gl::AttributesMask &clientAttribs = context->getStateCache().getActiveClientAttribsMask();
467 displayMtl->getStateCache().getSamplerState(displayMtl->getMetalDevice(), samplerDesc);
199 if (context->getStateCache().hasAnyActiveClientAttrib()) in setDrawArraysState()235 const gl::StateCache &stateCache = context->getStateCache(); in setDrawElementsState()
173 context->getStateCache().getActiveClientAttribsMask(); in syncDrawState()