Home
last modified time | relevance | path

Searched refs:fragmentSource (Results 1 – 25 of 25) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp119 std::stringstream fragmentSource; in render() local
122 fragmentSource << in render()
126 fragmentSource << "layout(location = 0) out mediump ivec4 o_color;\n"; in render()
128 fragmentSource << "layout(location = 0) out mediump uvec4 o_color;\n"; in render()
130 fragmentSource << "layout(location = 0) out mediump vec4 o_color;\n"; in render()
132 fragmentSource << in render()
137 fragmentSource << "\to_color = uvec4(0, 0, 0, 1000);\n"; in render()
139 fragmentSource << "\to_color = ivec4(0, 0, 0, 1000);\n"; in render()
141 fragmentSource << "\to_color = vec4(0.0, 0.0, 0.0, 1.0);\n"; in render()
143 fragmentSource << in render()
[all …]
Des3fRasterizationTests.cpp203 tcu::StringTemplate fragmentSource (s_shaderFragmentTemplate); in init() local
208 …VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(par… in init()
Des3fUniformApiTests.cpp2154 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate() local
2155 … program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in iterate()
Des3fShaderStateQueryTests.cpp1700 std::string fragmentSource = frag.str(); in test() local
1701 const char* fragmentSourceCStr = fragmentSource.c_str(); in test()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlShader.java61 public GlShader(String vertexSource, String fragmentSource) { in GlShader() argument
63 fragmentShader = compileShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in GlShader()
/external/deqp/framework/opengl/
DgluContextInfo.cpp44 TryCompileProgram (const char* vertexSource, const char* fragmentSource) in TryCompileProgram() argument
46 , m_fragmentSource (fragmentSource) in TryCompileProgram()
/external/deqp/modules/gles31/functional/
Des31fFboNoAttachmentTests.cpp78 const char* const fragmentSource = "#version 310 es\n" in checkFramebufferSize() local
87 …st glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferSize()
185 const char* const fragmentSource = "#version 310 es\n" in checkFramebufferRenderable() local
192 …st glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferRenderable()
Des31fShaderStateQueryTests.cpp118 …const std::string fragmentSource = tcu::StringTemplate(fragmentSourceTemplate).specialize(shad… in iterate() local
121 …, glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in iterate()
Des31fGeometryShaderTests.cpp614 std::ostringstream fragmentSource; in genProgramDeclaration() local
674 fragmentSource << "${GLSL_VERSION_DECL}\n" in genProgramDeclaration()
678 fragmentSource << "in mediump vec4 v_frag_" << i << ";\n"; in genProgramDeclaration()
680 fragmentSource << "void main (void)\n" in genProgramDeclaration()
685 fragmentSource << "\tfragColor = vec4(1.0, 0.0, 0.0, 1.0);\n"; in genProgramDeclaration()
689 fragmentSource << "\tfragColor = v_frag_0;\n"; in genProgramDeclaration()
693 fragmentSource << "\tfragColor = v_frag_0 + v_frag_1.yxzw;\n"; in genProgramDeclaration()
699 fragmentSource << "}\n"; in genProgramDeclaration()
776 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType).c_str()) in genProgramDeclaration()
4576 static const char* const fragmentSource = "${GLSL_VERSION_DECL}\n" in iterate() local
[all …]
Des31fTextureMultisampleTests.cpp1268 …const char* const fragmentSource = (m_isDepthFormat) ? (fragmentShaderSourceDepth) : (fragment… in genDrawShader() local
1281 …ource(vertexShaderSource) << glu::FragmentSource(tcu::StringTemplate(fragmentSource).specialize(fr… in genDrawShader()
Des31fProgramUniformTests.cpp1657 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate() local
1658 … program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp242 std::ostringstream fragmentSource; in initPrograms() local
243 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms()
253 programCollection.glslSources.add("frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
1776 std::ostringstream fragmentSource; in initPrograms() local
1777 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1788 …programCollection.glslSources.add("FragCoordMsaaFrag") << glu::FragmentSource(fragmentSource.str()… in initPrograms()
1867 std::ostringstream fragmentSource; in initPrograms() local
1868 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1896 programCollection.glslSources.add("FragDepthFrag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
1902 std::ostringstream fragmentSource; in initPrograms() local
[all …]
/external/deqp/modules/glshared/
DglsLongStressCase.hpp195 std::string fragmentSource; member
207 , fragmentSource (fragShaderSource_) in ProgramContext()
DglsLongStressCase.cpp1223 …urces(mangleShaderNames(progCtx.vertexSource, ""), mangleShaderNames(progCtx.fragmentSource, ""))); in init()
1289 mangleShaderNames(programContext.fragmentSource, programResources.shaderNameManglingSuffix)); in iterate()
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp87 const char* fragmentSource = in render() local
93 …ogram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in render()
Des2fShaderStateQueryTests.cpp1376 std::string fragmentSource = frag.str(); in test() local
1377 const char* fragmentSourceCStr = fragmentSource.c_str(); in test()
Des2fRasterizationTests.cpp168 tcu::StringTemplate fragmentSource (s_shaderFragmentTemplate); in init() local
171 …VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(par… in init()
Des2fUniformApiTests.cpp1744 const string fragmentSource = generateFragmentSource(basicUniforms); in iterate() local
1745 … program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp268 std::ostringstream fragmentSource; in initPrograms() local
281 fragmentSource << "#version 310 es\n" in initPrograms()
289 sourceCollections.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
DvktPipelineMultisampleTests.cpp442 static const char* fragmentSource = in initMultisamplePrograms() local
452 sources.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource); in initMultisamplePrograms()
/external/deqp/modules/egl/
DteglImageFormatTests.cpp90 glu::ProgramSources programSources (const string& vertexSource, const string& fragmentSource) in programSources() argument
94 sources << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource); in programSources()
102 Program (const glw::Functions& gl, const char* vertexSource, const char* fragmentSource) in Program() argument
103 : glu::ShaderProgram(gl, programSources(vertexSource, fragmentSource)) {} in Program()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp182 tcu::StringTemplate fragmentSource (fragShaderTemplate); in initializePrograms() local
283 …ent_" + std::string(getProgramName(program))) << glu::FragmentSource(fragmentSource.specialize(par… in initializePrograms()
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp245 const char* const fragmentSource = (useTexture) ? (fragmentSourceTex) : (fragmentSourceNoTex); in drawTestPattern() local
257 …, glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in drawTestPattern()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp253 const char* const fragmentSource = (useTexture) ? (fragmentSourceTex) : (fragmentSourceNoTex); in drawTestPattern() local
265 …, glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in drawTestPattern()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp123 tcu::StringTemplate fragmentSource (s_shaderFragmentTemplate); in initPrograms() local
129 …programCollection.glslSources.add("fragment_shader") << glu::FragmentSource(fragmentSource.special… in initPrograms()