• Home
  • Raw
  • Download

Lines Matching refs:samplerIndex

215 	GLint Program::getSamplerMapping(sw::SamplerType type, unsigned int samplerIndex)  in getSamplerMapping()  argument
222 ASSERT(samplerIndex < sizeof(samplersPS) / sizeof(samplersPS[0])); in getSamplerMapping()
224 if(samplersPS[samplerIndex].active) in getSamplerMapping()
226 logicalTextureUnit = samplersPS[samplerIndex].logicalTextureUnit; in getSamplerMapping()
230 ASSERT(samplerIndex < sizeof(samplersVS) / sizeof(samplersVS[0])); in getSamplerMapping()
232 if(samplersVS[samplerIndex].active) in getSamplerMapping()
234 logicalTextureUnit = samplersVS[samplerIndex].logicalTextureUnit; in getSamplerMapping()
249 TextureType Program::getSamplerTextureType(sw::SamplerType type, unsigned int samplerIndex) in getSamplerTextureType() argument
254 ASSERT(samplerIndex < sizeof(samplersPS)/sizeof(samplersPS[0])); in getSamplerTextureType()
255 ASSERT(samplersPS[samplerIndex].active); in getSamplerTextureType()
256 return samplersPS[samplerIndex].textureType; in getSamplerTextureType()
258 ASSERT(samplerIndex < sizeof(samplersVS)/sizeof(samplersVS[0])); in getSamplerTextureType()
259 ASSERT(samplersVS[samplerIndex].active); in getSamplerTextureType()
260 return samplersVS[samplerIndex].textureType; in getSamplerTextureType()
1738 unsigned int samplerIndex = targetUniform->psRegisterIndex + i; in applyUniform1iv() local
1740 if(samplerIndex < MAX_TEXTURE_IMAGE_UNITS) in applyUniform1iv()
1742 ASSERT(samplersPS[samplerIndex].active); in applyUniform1iv()
1743 samplersPS[samplerIndex].logicalTextureUnit = v[i]; in applyUniform1iv()
1760 unsigned int samplerIndex = targetUniform->vsRegisterIndex + i; in applyUniform1iv() local
1762 if(samplerIndex < MAX_VERTEX_TEXTURE_IMAGE_UNITS) in applyUniform1iv()
1764 ASSERT(samplersVS[samplerIndex].active); in applyUniform1iv()
1765 samplersVS[samplerIndex].logicalTextureUnit = v[i]; in applyUniform1iv()