Lines Matching refs:currentState
1141 ui32 = crHashtableNumElements(pProgram->currentState.attachedShaders);
1145 crHashtableWalk(pProgram->currentState.attachedShaders, crStateSaveGLSLShaderKeyCB, pSSM);
1152 crHashtableWalk(pProgram->currentState.attachedShaders, crStateSaveGLSLShaderCB, pSSM);
1155 crStateSaveGLSLProgramAttribs(&pProgram->currentState, pSSM);
2578 pProgram->currentState.attachedShaders = crAllocHashtable();
2587 crHashtableAdd(pProgram->currentState.attachedShaders, key, crHashtableSearch(pContext->glsl.shaders, key));
2605 if (pProgram->currentState.cAttribs)
2606 pProgram->currentState.pAttribs = (CRGLSLAttrib*) crAlloc(pProgram->currentState.cAttribs*sizeof(CRGLSLAttrib));
2607 for (k=0; k<pProgram->currentState.cAttribs; ++k)
2609 rc = SSMR3GetMem(pSSM, &pProgram->currentState.pAttribs[k].index, sizeof(pProgram->currentState.pAttribs[k].index));
2611 pProgram->currentState.pAttribs[k].name = crStateLoadString(pSSM);