Lines Matching refs:oldShader

620 	shader_t       *shader, *oldShader;  in RB_RenderDrawSurfaces()  local
631 oldShader = NULL; in RB_RenderDrawSurfaces()
663 …if(entity == oldEntity && shader == oldShader && lightmapNum == oldLightmapNum && fogNum == oldFog… in RB_RenderDrawSurfaces()
673 if(shader != oldShader in RB_RenderDrawSurfaces()
676 if(oldShader != NULL) in RB_RenderDrawSurfaces()
682 oldShader = shader; in RB_RenderDrawSurfaces()
747 if(oldShader != NULL) in RB_RenderDrawSurfaces()
769 shader_t *shader, *oldShader; in RB_RenderInteractions() local
784 oldShader = NULL; in RB_RenderInteractions()
829 if(!r_nobatching->integer && light == oldLight && entity == oldEntity && shader == oldShader) in RB_RenderInteractions()
840 if(oldEntity != NULL || oldLight != NULL || oldShader != NULL) in RB_RenderInteractions()
965 oldShader = shader; in RB_RenderInteractions()
995 shader_t *shader, *oldShader; in RB_RenderInteractionsStencilShadowed() local
1018 oldShader = NULL; in RB_RenderInteractionsStencilShadowed()
1127 if(!r_nobatching->integer && light == oldLight && entity == oldEntity && shader == oldShader) in RB_RenderInteractionsStencilShadowed()
1143 if(oldEntity != NULL || oldLight != NULL || oldShader != NULL) in RB_RenderInteractionsStencilShadowed()
1154 if(!r_nobatching->integer && light == oldLight && entity == oldEntity && shader == oldShader) in RB_RenderInteractionsStencilShadowed()
1166 if(oldEntity != NULL || oldLight != NULL || oldShader != NULL) in RB_RenderInteractionsStencilShadowed()
1319 oldShader = shader; in RB_RenderInteractionsStencilShadowed()