Lines Matching refs:samplersPS
222 ASSERT(samplerIndex < sizeof(samplersPS) / sizeof(samplersPS[0])); in getSamplerMapping()
224 if(samplersPS[samplerIndex].active) in getSamplerMapping()
226 logicalTextureUnit = samplersPS[samplerIndex].logicalTextureUnit; in getSamplerMapping()
254 ASSERT(samplerIndex < sizeof(samplersPS)/sizeof(samplersPS[0])); in getSamplerTextureType()
255 ASSERT(samplersPS[samplerIndex].active); in getSamplerTextureType()
256 return samplersPS[samplerIndex].textureType; in getSamplerTextureType()
1337 samplersPS[index].active = true; in defineUniform()
1338 samplersPS[index].textureType = (type == GL_SAMPLER_CUBE) ? TEXTURE_CUBE : TEXTURE_2D; in defineUniform()
1339 samplersPS[index].logicalTextureUnit = 0; in defineUniform()
1742 ASSERT(samplersPS[samplerIndex].active); in applyUniform1iv()
1743 samplersPS[samplerIndex].logicalTextureUnit = v[i]; in applyUniform1iv()
1925 samplersPS[index].active = false; in unlink()
2217 if(samplersPS[i].active) in validateSamplers()
2219 unsigned int unit = samplersPS[i].logicalTextureUnit; in validateSamplers()
2233 if(samplersPS[i].textureType != textureUnitType[unit]) in validateSamplers()
2245 textureUnitType[unit] = samplersPS[i].textureType; in validateSamplers()