Home
last modified time | relevance | path

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

/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp131 static string generateMultiTexFragmentShader(int numUnits, const GLenum* unitTypes) in generateMultiTexFragmentShader() argument
146 const char* samplerType = unitTypes[ndx] == GL_TEXTURE_2D ? "sampler2D" : "samplerCube"; in generateMultiTexFragmentShader()
147 const char* lookupFunc = unitTypes[ndx] == GL_TEXTURE_2D ? "texture2D" : "textureCube"; in generateMultiTexFragmentShader()
154 if (unitTypes[ndx] == GL_TEXTURE_2D) in generateMultiTexFragmentShader()
173 …::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const GLenum* unitTypes) in generateShaderProgramDeclaration() argument
187 …decl << sglr::pdec::Uniform(samplerName, (unitTypes[ndx] == GL_TEXTURE_2D) ? (glu::TYPE_SAMPLER_2D… in generateShaderProgramDeclaration()
200 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes)); in generateShaderProgramDeclaration()
244 MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes);
259 MultiTexShader::MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes) in MultiTexShader() argument
260 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, &unitTypes[0])) in MultiTexShader()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp198 static string generateMultiTexFragmentShader (int numUnits, const vector<GLenum>& unitTypes, const … in generateMultiTexFragmentShader() argument
225 if (unitTypes[ndx] == GL_TEXTURE_2D) in generateMultiTexFragmentShader()
249 …n generateShaderProgramDeclaration (int numUnits, const vector<GLenum>& unitTypes, const vector<gl… in generateShaderProgramDeclaration() argument
281 …decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerType… in generateShaderProgramDeclaration()
336 const vector<GLenum>& unitTypes,
359 const vector<GLenum>& unitTypes, in MultiTexShader() argument
364 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes)) in MultiTexShader()
366 , m_unitTypes (unitTypes) in MultiTexShader()
933 vector<GLenum> unitTypes; in init() local
939 unitTypes.reserve(m_numUnits); in init()
[all …]