HomeSort by relevance Sort by last modified time
    Searched refs:samplerIndex (Results 1 - 8 of 8) sorted by null

  /external/swiftshader/src/OpenGL/libGL/
Program.cpp 215 GLint Program::getSamplerMapping(sw::SamplerType type, unsigned int samplerIndex)
222 ASSERT(samplerIndex < sizeof(samplersPS) / sizeof(samplersPS[0]));
224 if(samplersPS[samplerIndex].active)
226 logicalTextureUnit = samplersPS[samplerIndex].logicalTextureUnit;
230 ASSERT(samplerIndex < sizeof(samplersVS) / sizeof(samplersVS[0]));
232 if(samplersVS[samplerIndex].active)
234 logicalTextureUnit = samplersVS[samplerIndex].logicalTextureUnit;
249 TextureType Program::getSamplerTextureType(sw::SamplerType type, unsigned int samplerIndex)
254 ASSERT(samplerIndex < sizeof(samplersPS)/sizeof(samplersPS[0]));
255 ASSERT(samplersPS[samplerIndex].active)
    [all...]
Program.h 88 GLint getSamplerMapping(sw::SamplerType type, unsigned int samplerIndex);
89 TextureType getSamplerTextureType(sw::SamplerType type, unsigned int samplerIndex);
Context.cpp     [all...]
  /external/swiftshader/src/OpenGL/libGLESv2/
Program.cpp 294 GLint Program::getSamplerMapping(sw::SamplerType type, unsigned int samplerIndex)
301 ASSERT(samplerIndex < sizeof(samplersPS) / sizeof(samplersPS[0]));
303 if(samplersPS[samplerIndex].active)
305 logicalTextureUnit = samplersPS[samplerIndex].logicalTextureUnit;
309 ASSERT(samplerIndex < sizeof(samplersVS) / sizeof(samplersVS[0]));
311 if(samplersVS[samplerIndex].active)
313 logicalTextureUnit = samplersVS[samplerIndex].logicalTextureUnit;
328 TextureType Program::getSamplerTextureType(sw::SamplerType type, unsigned int samplerIndex)
333 ASSERT(samplerIndex < sizeof(samplersPS)/sizeof(samplersPS[0]));
334 ASSERT(samplersPS[samplerIndex].active)
    [all...]
Context.cpp     [all...]
Program.h 138 GLint getSamplerMapping(sw::SamplerType type, unsigned int samplerIndex);
139 TextureType getSamplerTextureType(sw::SamplerType type, unsigned int samplerIndex);
  /external/swiftshader/src/Shader/
PixelProgram.hpp 86 void sampleTexture(Vector4f &c, int samplerIndex, Vector4f &uvwq, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function);
PixelProgram.cpp 711 void PixelProgram::sampleTexture(Vector4f &c, int samplerIndex, Vector4f &uvwq, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function)
717 Pointer<Byte> texture = data + OFFSET(DrawData, mipmap) + samplerIndex * sizeof(Texture);
718 sampler[samplerIndex]->sampleTexture(texture, c, uvwq.x, uvwq.y, uvwq.z, uvwq.w, dsx, dsy, offset, function);
    [all...]

Completed in 141 milliseconds