Home
last modified time | relevance | path

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

12

/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 …]
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.hpp103 const char* vertexSource, const char* fragmentSource);
136 …void specializeShaders(const char* vertexSource, const char* fragmentSource, std::string& outVerte…
DglcShaderLibraryCase.cpp82 const char* vertexSource, const char* fragmentSource) in ShaderCase() argument
99 if (vertexSource && fragmentSource) in ShaderCase()
102 specializeShaders(vertexSource, fragmentSource, m_vertexSource, m_fragmentSource, valueBlock); in ShaderCase()
112 DE_ASSERT(fragmentSource); in ShaderCase()
115 m_fragmentSource = specializeFragmentShader(fragmentSource, valueBlock); in ShaderCase()
900 void ShaderCase::specializeShaders(const char* vertexSource, const char* fragmentSource, string& ou… in specializeShaders() argument
981 StringTemplate tmpl(fragmentSource); in specializeShaders()
DglcShaderLibrary.cpp928 string fragmentSource; in parseShaderCase() local
976 fragmentSource = source; in parseShaderCase()
1035 DE_ASSERT(fragmentSource.length() == 0); in parseShaderCase()
1048 fragmentSource.c_str())); in parseShaderCase()
/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/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp243 std::ostringstream fragmentSource; in initPrograms() local
244 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms()
254 programCollection.glslSources.add("frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
1425 std::ostringstream fragmentSource; in initPrograms() local
1426 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1437 …programCollection.glslSources.add("FragCoordMsaaFrag") << glu::FragmentSource(fragmentSource.str()… in initPrograms()
1518 std::ostringstream fragmentSource; in initPrograms() local
1519 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1547 programCollection.glslSources.add("FragDepthFrag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
1553 std::ostringstream fragmentSource; in initPrograms() local
[all …]
/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)) in genProgramDeclaration()
3963 …const std::string fragmentSource = std::string(glu::getGLSLVersionDeclaration(glu::getContextTyp… in iterate() local
[all …]
Des31fTextureMultisampleTests.cpp1282 …const char* const fragmentSource = (m_isDepthFormat) ? (fragmentShaderSourceDepth) : (fragment… in genDrawShader() local
1298 …ext, vertexShaderSource)) << glu::FragmentSource(tcu::StringTemplate(fragmentSource).specialize(fr… in genDrawShader()
/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.cpp167 tcu::StringTemplate fragmentSource (s_shaderFragmentTemplate); in init() local
170 …VertexSource(vertexSource.specialize(params)) << glu::FragmentSource(fragmentSource.specialize(par… in init()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsVoteTests.cpp297 std::ostringstream fragmentSource; in initFrameBufferPrograms() local
298 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450)<<"\n" in initFrameBufferPrograms()
323 …<< glu::FragmentSource(fragmentSource.str())<< vk::ShaderBuildOptions(programCollection.usedVulkan… in initFrameBufferPrograms()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp608 static const char* fragmentSource = in initMultisamplePrograms() local
618 sources.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource); in initMultisamplePrograms()
637 static const char* fragmentSource = in initSampleShadingPrograms() local
646 sources.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource); in initSampleShadingPrograms()
663 static const char* fragmentSource = in initSampleShadingPrograms() local
678 sources.glslSources.add("copy_sample_frag") << glu::FragmentSource(fragmentSource); in initSampleShadingPrograms()
1231 std::ostringstream fragmentSource; in initPrograms() local
1232 fragmentSource << in initPrograms()
1246 programCollection.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
DvktPipelineBlendTests.cpp270 std::ostringstream fragmentSource; in initPrograms() local
283 fragmentSource << "#version 310 es\n" in initPrograms()
291 sourceCollections.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
/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.cpp197 tcu::StringTemplate fragmentSource (fragShaderTemplate); in initializePrograms() local
298 …ent_" + std::string(getProgramName(program))) << glu::FragmentSource(fragmentSource.specialize(par… in initializePrograms()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedAttachmentTests.cpp317 std::ostringstream fragmentSource; in initPrograms() local
/external/deqp/external/openglcts/modules/gl/
Dgl4cSparseTexture2Tests.cpp1588 std::string fragmentSource = st2_fragment_drawBuffer; in UncommittedDepthStencil() local
1590 ShaderProgram program(gl, glu::makeVtxFragSources(vertexSource, fragmentSource)); in UncommittedDepthStencil()
1597 << ", fragmentSource: " << fragmentSource.c_str() << " - "; in UncommittedDepthStencil()
/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()

12