Searched refs:getStateCache (Results 1 – 21 of 21) sorted by relevance
43 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in MarkTransformFeedbackBufferUsage()52 for (size_t index : context->getStateCache().getActiveShaderStorageBufferIndices()) in MarkShaderStorageUsage()61 for (size_t index : context->getStateCache().getActiveImageUnitIndices()) in MarkShaderStorageUsage()
430 intptr_t drawStatesError = context->getStateCache().getBasicDrawStatesError(context); in ValidateDrawBase()444 if (!context->getStateCache().isValidDrawMode(mode)) in ValidateDrawBase()740 context->getStateCache().getVertexAttribTypeValidation(type)); in ValidateFloatVertexFormat()751 context->getStateCache().getIntegerVertexAttribTypeValidation(type)); in ValidateIntegerVertexFormat()932 if (maxVertex > context->getStateCache().getNonInstancedVertexElementLimit()) in ValidateDrawAttribs()976 if ((primcount - 1) > context->getStateCache().getInstancedVertexElementLimit()) in ValidateDrawInstancedAttribs()1015 if (context->getStateCache().isTransformFeedbackActiveUnpaused() && in ValidateDrawArraysCommon()1036 if (!context->getStateCache().isValidDrawElementsType(type)) in ValidateDrawElementsBase()1049 intptr_t drawElementsError = context->getStateCache().getBasicDrawElementsError(context); in ValidateDrawElementsBase()
147 if (!context->getStateCache().isValidBindTextureType(target)) in ValidateBindTexture()
584 const StateCache &getStateCache() const { return mStateCache; } in getStateCache() function585 StateCache &getStateCache() { return mStateCache; } in getStateCache() function
635 intptr_t drawStatesError = context->getStateCache().getBasicDrawStatesError(context); in validate()
720 const AttributesMask &activeAttribues = context->getStateCache().getActiveBufferedAttribsMask(); in hasTransformFeedbackBindingConflict()
4009 if (context->getStateCache().hasAnyEnabledClientAttrib()) in ValidateDrawStates()4294 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in ValidateDrawElementsStates()8182 if (context->getStateCache().getNonInstancedVertexElementLimit() == in RecordDrawAttribsError()8184 context->getStateCache().getInstancedVertexElementLimit() == in RecordDrawAttribsError()
464 if (context->getStateCache().hasAnyActiveClientAttrib()) in ValidateDrawIndirectBase()
2182 context->getStateCache().onVertexArrayStateChange(context); in detachBuffer()
6388 ASSERT(!context->getStateCache().isValidBindTextureType(target)); in RecordBindTextureTypeError()
39 displayMtl->getStateCache().getSamplerState(displayMtl->getMetalDevice(), samplerDesc);
136 mtl::StateCache &getStateCache() { return mStateCache; } in getStateCache() function
1253 return contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl);1278 return contextMtl->getDisplay()->getStateCache().getDepthStencilState(1540 contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl));1549 cmdEncoder->setFragmentSamplerState(contextMtl->getDisplay()->getStateCache().getSamplerState(1776 cmdEncoder->setDepthStencilState(contextMtl->getDisplay()->getStateCache().getDepthStencilState(
1345 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1979 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1988 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());2023 if (context->getStateCache().hasAnyActiveClientAttrib())
509 const gl::AttributesMask &clientAttribs = context->getStateCache().getActiveClientAttribsMask();
822 displayMtl->getStateCache().getSamplerState(displayMtl->getMetalDevice(), samplerDesc);
280 context->getStateCache().getActiveBufferedAttribsMask(); in handleLineLoopIndirectDraw()761 context->getStateCache().getActiveClientAttribsMask() | in updateStreamedAttribs()762 context->getStateCache().getActiveBufferedAttribsMask(); in updateStreamedAttribs()
3671 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in invalidateProgramExecutableHelper()3946 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in syncState()
225 if (context->getStateCache().hasAnyActiveClientAttrib() || in setDrawArraysState()270 const gl::StateCache &stateCache = context->getStateCache(); in setDrawElementsState()
198 context->getStateCache().getActiveClientAttribsMask(); in syncDrawState()
4832 if (!context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureDrawArraysClientData()4848 if (!context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureDrawElementsClientData()5554 for (size_t attribIndex : context->getStateCache().getActiveClientAttribsMask()) in captureClientArraySnapshot()