Lines Matching defs:currentStage
4714 uint32_t currentStage = pTextureState[i].stage;
4716 Log(("vmsvga3dSetTextureState: cid=%x stage=%d type=%s (%x) val=%x\n", cid, currentStage, vmsvga3dTextureStateToString(pTextureState[i].name), pTextureState[i].name, pTextureState[i].value));
4720 if (RT_UNLIKELY(currentStage >= SVGA3D_MAX_TEXTURE_STAGE))
4727 if ( currentStage < SVGA3D_MAX_TEXTURE_STAGE
4730 pContext->state.aTextureState[currentStage][pTextureState[i].name] = pTextureState[i];
4818 Log(("SVGA3D_TS_BIND_TEXTURE: stage %d, texture surface id=%x\n", currentStage, pTextureState[i].value));
4820 pContext->aSidActiveTexture[currentStage] = SVGA3D_INVALID_ID;
4822 hr = pContext->pDevice->SetTexture(currentStage, NULL);
4835 Log(("SVGA3D_TS_BIND_TEXTURE: stage %d, texture surface id=%x (%d,%d)\n", currentStage, pTextureState[i].value, pSurface->pMipmapLevels[0].size.width, pSurface->pMipmapLevels[0].size.height));
4858 hr = pContext->pDevice->SetTexture(currentStage, pSharedSurface->u.pTexture);
4862 hr = pContext->pDevice->SetTexture(currentStage, pSurface->u.pTexture);
4866 pContext->aSidActiveTexture[currentStage] = sid;
4947 hr = pContext->pDevice->SetTextureStageState(currentStage, textureType, val);
4952 hr = pContext->pDevice->SetSamplerState(currentStage, samplerType, val);