Home
last modified time | relevance | path

Searched refs:textureUsed (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/OpenGL/libGL/
DContext.cpp2089 bool textureUsed = false; in applyTexture() local
2093 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()
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp3098 bool textureUsed = false; in applyTexture() local
3102 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()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp6044 bool textureUsed = false; in bindTextures() local
6048 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()