Home
last modified time | relevance | path

Searched refs:samplersPS (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp298 ASSERT(samplerIndex < sizeof(samplersPS) / sizeof(samplersPS[0])); in getSamplerMapping()
300 if(samplersPS[samplerIndex].active) in getSamplerMapping()
302 logicalTextureUnit = samplersPS[samplerIndex].logicalTextureUnit; in getSamplerMapping()
330 ASSERT(samplerIndex < sizeof(samplersPS)/sizeof(samplersPS[0])); in getSamplerTextureType()
331 ASSERT(samplersPS[samplerIndex].active); in getSamplerTextureType()
332 return samplersPS[samplerIndex].textureType; in getSamplerTextureType()
1807 samplersPS[index].active = true; in defineUniform()
1815 case GL_SAMPLER_2D: samplersPS[index].textureType = TEXTURE_2D; break; in defineUniform()
1819 case GL_SAMPLER_CUBE: samplersPS[index].textureType = TEXTURE_CUBE; break; in defineUniform()
1822 case GL_SAMPLER_3D_OES: samplersPS[index].textureType = TEXTURE_3D; break; in defineUniform()
[all …]
DProgram.h303 Sampler samplersPS[MAX_TEXTURE_IMAGE_UNITS]; variable