Searched refs:textureUsed (Results 1 – 3 of 3) sorted by relevance
2089 bool textureUsed = false; in applyTexture() local2093 textureUsed = program ? program->getPixelShader()->usesSampler(index) : true; in applyTexture()2097 textureUsed = program ? program->getVertexShader()->usesSampler(index) : false; in applyTexture()2103 if(baseTexture && textureUsed) in applyTexture()2110 if(baseTexture && textureUsed) in applyTexture()
3098 bool textureUsed = false; in applyTexture() local3102 textureUsed = program->getPixelShader()->usesSampler(index); in applyTexture()3106 textureUsed = program->getVertexShader()->usesSampler(index); in applyTexture()3112 if(baseTexture && textureUsed) in applyTexture()3119 if(baseTexture && textureUsed) in applyTexture()
6044 bool textureUsed = false; in bindTextures() local6048 textureUsed = pixelShader->getPixelShader()->usesSampler(index); in bindTextures()6052 textureUsed = vertexShader->getVertexShader()->usesSampler(index); in bindTextures()6056 textureUsed = true; // FIXME: Check fixed-function use? in bindTextures()6061 if(baseTexture && textureUsed) in bindTextures()6068 if(baseTexture && textureUsed) in bindTextures()6073 if(baseTexture && textureUsed) in bindTextures()