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()
1323 samplersVS[index].active = true; in defineUniform()
1324 samplersVS[index].textureType = (type == GL_SAMPLER_CUBE) ? TEXTURE_CUBE : TEXTURE_2D; in defineUniform()
1325 samplersVS[index].logicalTextureUnit = 0; in defineUniform()
1764 ASSERT(samplersVS[samplerIndex].active); in applyUniform1iv()
1765 samplersVS[samplerIndex].logicalTextureUnit = v[i]; in applyUniform1iv()
1930 samplersVS[index].active = false; in unlink()
2252 if(samplersVS[i].active) in validateSamplers()
2254 unsigned int unit = samplersVS[i].logicalTextureUnit; in validateSamplers()
2268 if(samplersVS[i].textureType != textureUnitType[unit]) in validateSamplers()
2280 textureUnitType[unit] = samplersVS[i].textureType; in validateSamplers()