Lines Matching refs:samplersVS
230 ASSERT(samplerIndex < sizeof(samplersVS) / sizeof(samplersVS[0])); in getSamplerMapping()
232 if(samplersVS[samplerIndex].active) in getSamplerMapping()
234 logicalTextureUnit = samplersVS[samplerIndex].logicalTextureUnit; in getSamplerMapping()
258 ASSERT(samplerIndex < sizeof(samplersVS)/sizeof(samplersVS[0])); in getSamplerTextureType()
259 ASSERT(samplersVS[samplerIndex].active); in getSamplerTextureType()
260 return samplersVS[samplerIndex].textureType; in getSamplerTextureType()
1329 samplersVS[index].active = true; in defineUniform()
1330 samplersVS[index].textureType = (type == GL_SAMPLER_CUBE) ? TEXTURE_CUBE : TEXTURE_2D; in defineUniform()
1331 samplersVS[index].logicalTextureUnit = 0; in defineUniform()
1770 ASSERT(samplersVS[samplerIndex].active); in applyUniform1iv()
1771 samplersVS[samplerIndex].logicalTextureUnit = v[i]; in applyUniform1iv()
1936 samplersVS[index].active = false; in unlink()
2258 if(samplersVS[i].active) in validateSamplers()
2260 unsigned int unit = samplersVS[i].logicalTextureUnit; in validateSamplers()
2274 if(samplersVS[i].textureType != textureUnitType[unit]) in validateSamplers()
2286 textureUnitType[unit] = samplersVS[i].textureType; in validateSamplers()