Searched defs:samplerIndex (Results 1 - 5 of 5) sorted by relevance

/external/skia/src/sksl/
H A DSkSLCPPCodeGenerator.cpp599 int samplerIndex = 0; local
610 name, samplerIndex);
614 ++samplerIndex;
/external/skqp/src/sksl/
H A DSkSLCPPCodeGenerator.cpp599 int samplerIndex = 0; local
610 name, samplerIndex);
614 ++samplerIndex;
/external/swiftshader/src/OpenGL/libGL/
H A DProgram.cpp215 GLint Program::getSamplerMapping(sw::SamplerType type, unsigned int samplerIndex) argument
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]
1738 unsigned int samplerIndex = targetUniform->psRegisterIndex + i; local
1760 unsigned int samplerIndex = targetUniform->vsRegisterIndex + i; local
[all...]
/external/swiftshader/src/Shader/
H A DPixelProgram.cpp711 Vector4f PixelProgram::sampleTexture(int samplerIndex, Vector4f &uvwq, Float4 &bias, Vector4f &dsx, Vector4f &dsy, Vector4f &offset, SamplerFunction function) argument
717 Pointer<Byte> texture = data + OFFSET(DrawData, mipmap) + samplerIndex * sizeof(Texture);
718 Vector4f c = SamplerCore(constants, state.sampler[samplerIndex]).sampleTexture(texture, uvwq.x, uvwq.y, uvwq.z, uvwq.w, bias, dsx, dsy, offset, function);
/external/swiftshader/src/OpenGL/libGLESv2/
H A DProgram.cpp319 GLint Program::getSamplerMapping(sw::SamplerType type, unsigned int samplerIndex) argument
326 ASSERT(samplerIndex < sizeof(samplersPS) / sizeof(samplersPS[0]));
328 if(samplersPS[samplerIndex].active)
330 logicalTextureUnit = samplersPS[samplerIndex].logicalTextureUnit;
334 ASSERT(samplerIndex < sizeof(samplersVS) / sizeof(samplersVS[0]));
336 if(samplersVS[samplerIndex].active)
338 logicalTextureUnit = samplersVS[samplerIndex].logicalTextureUnit;
353 TextureType Program::getSamplerTextureType(sw::SamplerType type, unsigned int samplerIndex)
358 ASSERT(samplerIndex < sizeof(samplersPS)/sizeof(samplersPS[0]));
359 ASSERT(samplersPS[samplerIndex]
2382 unsigned int samplerIndex = targetUniform->psRegisterIndex + i; local
2396 unsigned int samplerIndex = targetUniform->vsRegisterIndex + i; local
2484 unsigned int samplerIndex = targetUniform->psRegisterIndex + i; local
2498 unsigned int samplerIndex = targetUniform->vsRegisterIndex + i; local
[all...]

Completed in 336 milliseconds