/external/deqp/modules/gles2/functional/ |
es2fLightAmountTest.cpp | 151 string fragmentShaderSource; 166 fragmentShaderSource = fragmentTemplate.specialize(params); 170 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
|
es2fNegativeVertexArrayApiTests.cpp | 43 static const char* fragmentShaderSource = "void main (void) { gl_FragColor = vec4(0.0); }\n\0"; 128 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 181 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 209 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 274 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
|
es2fShaderIndexingTests.cpp | 357 string fragmentShaderSource = fragTemplate.specialize(params); 371 return new ShaderIndexingCase(context, caseName, description, true, varType, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 470 string fragmentShaderSource = fragTemplate.specialize(params); 481 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 618 string fragmentShaderSource = fragTemplate.specialize(params); 629 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 804 string fragmentShaderSource = fragTemplate.specialize(params); 815 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 976 string fragmentShaderSource = fragTemplate.specialize(params); 987 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, requirements, vertexShaderSource.c_str(), fragmentShaderSource.c_str()) [all...] |
es2fShaderAlgorithmTests.cpp | 134 string fragmentShaderSource = fragTemplate.specialize(params); 136 return new ShaderAlgorithmCase(context, caseName, description, isVertexCase, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str());
|
es2fNegativeShaderApiTests.cpp | 44 static const char* fragmentShaderSource = "void main (void) { gl_FragColor = vec4(0.0); }\n\0"; 311 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 341 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 372 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 426 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); [all...] |
es2fShaderLoopTests.cpp | 462 string fragmentShaderSource = fragTemplate.specialize(params); 480 return new ShaderLoopCase(context, caseName, description, isVertexCase, evalFunc, requirement, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderIndexingTests.cpp | 330 string fragmentShaderSource = fragTemplate.specialize(params); 333 return new ShaderIndexingCase(context, caseName, description, true, varType, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 436 string fragmentShaderSource = fragTemplate.specialize(params); 439 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 580 string fragmentShaderSource = fragTemplate.specialize(params); 583 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 762 string fragmentShaderSource = fragTemplate.specialize(params); 765 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); 949 string fragmentShaderSource = fragTemplate.specialize(params); 952 return new ShaderIndexingCase(context, caseName, description, isVertexCase, varType, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()) [all...] |
es3fNegativeVertexArrayApiTests.cpp | 48 static const char* fragmentShaderSource = "#version 300 es\n" 264 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 317 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 345 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 448 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 518 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 579 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 611 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 722 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); [all...] |
es3fPixelBufferObjectTests.cpp | 250 stringstream fragmentShaderSource; 252 fragmentShaderSource << 257 fragmentShaderSource << "layout (location = 0) out mediump " << outtype << " o_color;\n" 263 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource.str()));
|
es3fShaderLoopTests.cpp | 434 string fragmentShaderSource = fragTemplate.specialize(params); 438 return new ShaderLoopCase(context, caseName, description, isVertexCase, evalFunc, vertexShaderSource.c_str(), fragmentShaderSource.c_str()); [all...] |
es3fNegativeShaderApiTests.cpp | 50 static const char* fragmentShaderSource = "#version 300 es\n" 281 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 323 glu::ShaderProgram program1(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 324 glu::ShaderProgram program2(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 383 glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 422 glu::ShaderProgram srcProgram (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 635 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 667 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderIndexingTests.cpp | 378 string fragmentShaderSource = fragTemplate.specialize(params); 381 return de::MovePtr<ShaderIndexingCase>(new ShaderIndexingCase(context, caseName, description, true, evalFunc, vertexShaderSource, fragmentShaderSource, varType, false)); 494 string fragmentShaderSource = fragTemplate.specialize(params); 497 return de::MovePtr<ShaderIndexingCase>(new ShaderIndexingCase(context, caseName, description, isVertexCase, evalFunc, vertexShaderSource, fragmentShaderSource, varType, true)); 649 string fragmentShaderSource = fragTemplate.specialize(params); 652 return de::MovePtr<ShaderIndexingCase>(new ShaderIndexingCase(context, caseName, description, isVertexCase, evalFunc, vertexShaderSource, fragmentShaderSource, varType, false)); 836 string fragmentShaderSource = fragTemplate.specialize(params); 839 return de::MovePtr<ShaderIndexingCase>(new ShaderIndexingCase(context, caseName, description, isVertexCase, evalFunc, vertexShaderSource, fragmentShaderSource, varType, false)); [all...] |
vktShaderRenderLoopTests.cpp | 266 const std::string& fragmentShaderSource) 270 m_fragShaderSource = fragmentShaderSource; 514 std::string fragmentShaderSource = fragTemplate.specialize(params); 519 return de::MovePtr<ShaderLoopCase>(new ShaderLoopCase(testCtx, caseName, description, isVertexCase, evalFunc, uniformSetup, vertexShaderSource, fragmentShaderSource)); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeVertexArrayApiTests.cpp | 55 static const char* fragmentShaderSource = "${GLSL_VERSION_STRING}\n" 388 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); 448 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); 485 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); 595 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); 703 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); 771 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); 810 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); [all...] |
es31fNegativeShaderApiTests.cpp | 56 static const char* fragmentShaderSource = "#version 300 es\n" 343 glu::ShaderProgram program(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 389 glu::ShaderProgram program1(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 390 glu::ShaderProgram program2(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 467 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 507 glu::ShaderProgram srcProgram (ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 845 glu::ShaderProgram program(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 881 glu::ShaderProgram program(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); [all...] |
es31fLayoutBindingTests.cpp | 142 std::ostringstream fragmentShaderSource; 143 fragmentShaderSource << "#version 310 es\n" 154 return fragmentShaderSource.str(); 158 std::ostringstream fragmentShaderSource; 159 fragmentShaderSource << "#version 310 es\n" 172 return fragmentShaderSource.str(); [all...] |
/external/deqp/modules/egl/ |
teglSwapBuffersTests.cpp | 130 const char* const fragmentShaderSource = 159 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); 216 log << TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, fragmentShaderSource, fragmentCompileStatus != 0, fragmentInfoLog);
|
teglPreservingSwapTests.cpp | 135 const char* const fragmentShaderSource = 142 return glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource);
|
teglNativeColorMappingTests.cpp | 97 const char* const fragmentShaderSource = 127 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); 184 log << TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, fragmentShaderSource, fragmentCompileStatus != 0, fragmentInfoLog);
|
teglNativeCoordMappingTests.cpp | 98 const char* const fragmentShaderSource = 127 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); 184 log << TestLog::Shader(QP_SHADER_TYPE_FRAGMENT, fragmentShaderSource, fragmentCompileStatus != 0, fragmentInfoLog);
|
teglGLES2SharedRenderingPerfTests.cpp | 316 const char* fragmentShaderSource = 326 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); 340 const char* fragmentShaderSource = 349 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL); [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureUploadTests.cpp | 155 string fragmentShaderSource = ""; 167 fragmentShaderSource.append("precision mediump float;\n" 177 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ShaderProgram.java | 143 private final String fragmentShaderSource;
166 this.fragmentShaderSource = fragmentShader;
744 compileShaders(vertexShaderSource, fragmentShaderSource);
912 return fragmentShaderSource;
|
/external/deqp/modules/glshared/ |
glsAttributeLocationTests.cpp | 278 const char* const fragmentShaderSource = 290 const tcu::StringTemplate fragmentShaderTemplate(fragmentShaderSource); 378 const string& fragmentShaderSource, 400 log << TestLog::KernelSource(fragmentShaderSource); 416 const string fragmentShaderSource = createFragmentShaderSource(renderCtx, attributeAliasing); 427 const char* const fragmentShaderString = fragmentShaderSource.c_str(); 450 logShaders(log, vertexShaderSource, vertexShaderInfoLog, vertexCompileOk, fragmentShaderSource, fragmentShaderInfoLog, fragmentCompileOk); [all...] |
glsStateChangePerfTestCases.cpp | 310 string fragmentShaderSource = 318 glu::ShaderProgram* program = new glu::ShaderProgram(m_renderCtx, glu::ProgramSources() << glu::VertexSource(vertexShaderSource) << glu::FragmentSource(fragmentShaderSource));
|