Searched refs:unitTypes (Results 1 - 2 of 2) sorted by relevance
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureUnitTests.cpp | 131 static string generateMultiTexFragmentShader(int numUnits, const GLenum* unitTypes) argument 146 const char* samplerType = unitTypes[ndx] == GL_TEXTURE_2D ? "sampler2D" : "samplerCube"; 147 const char* lookupFunc = unitTypes[ndx] == GL_TEXTURE_2D ? "texture2D" : "textureCube"; 154 if (unitTypes[ndx] == GL_TEXTURE_2D) 173 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const GLenum* unitTypes) argument 187 decl << sglr::pdec::Uniform(samplerName, (unitTypes[ndx] == GL_TEXTURE_2D) ? (glu::TYPE_SAMPLER_2D) : (glu::TYPE_SAMPLER_CUBE)); 200 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes)); 244 MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes); 259 MultiTexShader::MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes) argument 260 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, &unitTypes[ 738 vector<GLenum> unitTypes; local [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureUnitTests.cpp | 198 static string generateMultiTexFragmentShader (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes) argument 225 if (unitTypes[ndx] == GL_TEXTURE_2D) 249 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes) argument 281 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerTypes)); 336 const vector<GLenum>& unitTypes, 359 const vector<GLenum>& unitTypes, 364 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes)) 366 , m_unitTypes (unitTypes) 933 vector<GLenum> unitTypes; local 939 unitTypes 357 MultiTexShader(deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes, const vector<Vec4>& texScales, const vector<Vec4>& texBiases, const vector<int>& num2dArrayLayers) argument [all...] |
Completed in 187 milliseconds