Lines Matching refs:samplersVS
306 ASSERT(samplerIndex < sizeof(samplersVS) / sizeof(samplersVS[0])); in getSamplerMapping()
308 if(samplersVS[samplerIndex].active) in getSamplerMapping()
310 logicalTextureUnit = samplersVS[samplerIndex].logicalTextureUnit; in getSamplerMapping()
334 ASSERT(samplerIndex < sizeof(samplersVS)/sizeof(samplersVS[0])); in getSamplerTextureType()
335 ASSERT(samplersVS[samplerIndex].active); in getSamplerTextureType()
336 return samplersVS[samplerIndex].textureType; in getSamplerTextureType()
1771 samplersVS[index].active = true; in defineUniform()
1779 case GL_SAMPLER_2D: samplersVS[index].textureType = TEXTURE_2D; break; in defineUniform()
1783 case GL_SAMPLER_CUBE: samplersVS[index].textureType = TEXTURE_CUBE; break; in defineUniform()
1786 case GL_SAMPLER_3D_OES: samplersVS[index].textureType = TEXTURE_3D; break; in defineUniform()
1787 case GL_SAMPLER_2D_RECT_ARB: samplersVS[index].textureType = TEXTURE_2D_RECT; break; in defineUniform()
1788 case GL_SAMPLER_EXTERNAL_OES: samplersVS[index].textureType = TEXTURE_EXTERNAL; break; in defineUniform()
1792 case GL_SAMPLER_2D_ARRAY: samplersVS[index].textureType = TEXTURE_2D_ARRAY; break; in defineUniform()
1795 samplersVS[index].logicalTextureUnit = 0; in defineUniform()
2414 ASSERT(samplersVS[samplerIndex].active); in applyUniform1iv()
2415 samplersVS[samplerIndex].logicalTextureUnit = v[i]; in applyUniform1iv()
2516 ASSERT(samplersVS[samplerIndex].active); in applyUniform1uiv()
2517 samplersVS[samplerIndex].logicalTextureUnit = v[i]; in applyUniform1uiv()
2648 samplersVS[index].active = false; in unlink()
3099 if(samplersVS[i].active) in validateSamplers()
3101 unsigned int unit = samplersVS[i].logicalTextureUnit; in validateSamplers()
3115 if(samplersVS[i].textureType != textureUnitType[unit]) in validateSamplers()
3127 textureUnitType[unit] = samplersVS[i].textureType; in validateSamplers()