Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderLibraryCase.hpp102 const char* vertexSource, const char* fragmentSource);
135 …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
980 fragmentSource = source; in parseShaderCase()
1041 DE_ASSERT(fragmentSource.length() == 0); in parseShaderCase()
1054 fragmentSource.c_str())); in parseShaderCase()
/third_party/vk-gl-cts/framework/opengl/
DgluContextInfo.cpp44 TryCompileProgram (const char* vertexSource, const char* fragmentSource) in TryCompileProgram() argument
46 , m_fragmentSource (fragmentSource) in TryCompileProgram()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedClearAttachmentTests.cpp291 std::ostringstream fragmentSource; in initPrograms() local
293 fragmentSource << "#version 450\n" in initPrograms()
300 fragmentSource << "layout(location = " << i << ") out vec4 fragColor" << i << ";\n"; in initPrograms()
303 fragmentSource << "void main (void)\n" in initPrograms()
309 fragmentSource << "\tfragColor" << i << " = vtxColor;\n"; in initPrograms()
312 fragmentSource << "}\n"; in initPrograms()
314 sourceCollections.glslSources.add("frag_shader") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp166 std::ostringstream fragmentSource; in initPrograms() local
168 fragmentSource << "#version 450\n" in initPrograms()
176 sourceCollections.glslSources.add("frag_shader") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp197 std::ostringstream fragmentSource; in initPrograms() local
DvktRenderPassUnusedAttachmentTests.cpp317 std::ostringstream fragmentSource; in initPrograms() local
/third_party/vk-gl-cts/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.cpp120 …const std::string fragmentSource = tcu::StringTemplate(fragmentSourceTemplate).specialize(shad… in iterate() local
123 …, glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in iterate()
Des31fGeometryShaderTests.cpp623 std::ostringstream fragmentSource; in genProgramDeclaration() local
683 fragmentSource << "${GLSL_VERSION_DECL}\n" in genProgramDeclaration()
687 fragmentSource << "in mediump vec4 v_frag_" << i << ";\n"; in genProgramDeclaration()
689 fragmentSource << "void main (void)\n" in genProgramDeclaration()
694 fragmentSource << "\tfragColor = vec4(1.0, 0.0, 0.0, 1.0);\n"; in genProgramDeclaration()
698 fragmentSource << "\tfragColor = v_frag_0;\n"; in genProgramDeclaration()
702 fragmentSource << "\tfragColor = v_frag_0 + v_frag_1.yxzw;\n"; in genProgramDeclaration()
708 fragmentSource << "}\n"; in genProgramDeclaration()
785 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType)) in genProgramDeclaration()
4009 …const std::string fragmentSource = std::string(glu::getGLSLVersionDeclaration(glu::getContextTyp… in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp246 std::ostringstream fragmentSource; in initPrograms() local
247 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms()
257 programCollection.glslSources.add("frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
1498 std::ostringstream fragmentSource; in initPrograms() local
1499 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1510 …programCollection.glslSources.add("FragCoordMsaaFrag") << glu::FragmentSource(fragmentSource.str()… in initPrograms()
1680 std::ostringstream fragmentSource; in initPrograms() local
1681 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1709 programCollection.glslSources.add("FragDepthFrag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
1715 std::ostringstream fragmentSource; in initPrograms() local
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fReadPixelsTests.cpp87 const char* fragmentSource = in render() local
93 …ogram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in render()
/third_party/vk-gl-cts/modules/glshared/
DglsLongStressCase.hpp195 std::string fragmentSource; member
207 , fragmentSource (fragShaderSource_) in ProgramContext()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsVoteTests.cpp240 ostringstream fragmentSource; in initFrameBufferProgramsFrag() local
242 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450)<<"\n" in initFrameBufferProgramsFrag()
268 …programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSource.str())<< build… in initFrameBufferProgramsFrag()
DvktSubgroupsSizeControlTests.cpp371 ostringstream fragmentSource; in initFrameBufferPrograms() local
373 fragmentSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450)<<"\n" in initFrameBufferPrograms()
383 …programCollection.glslSources.add("fragment") << glu::FragmentSource(fragmentSource.str()) << buil… in initFrameBufferPrograms()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsVoteTests.cpp299 std::ostringstream fragmentSource; in initFrameBufferPrograms() local
300 fragmentSource << "${VERSION_DECL}\n" in initFrameBufferPrograms()
325 programCollection.add("fragment") << glu::FragmentSource(fragmentSource.str()); in initFrameBufferPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendTests.cpp464 std::ostringstream fragmentSource; in initPrograms() local
477 fragmentSource << "#version 310 es\n" in initPrograms()
485 sourceCollections.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
555 std::ostringstream fragmentSource; in initPrograms() local
571 fragmentSource << "#version 450\n" in initPrograms()
584 sourceCollections.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
1689 std::ostringstream fragmentSource; in initPrograms() local
1702 fragmentSource << "#version 310 es\n" in initPrograms()
1710 sourceCollections.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource.str()); in initPrograms()
DvktPipelineMultisampleTests.cpp889 static const char* fragmentSource = in initMultisamplePrograms() local
899 sources.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource); in initMultisamplePrograms()
918 static const char* fragmentSource = in initSampleShadingPrograms() local
927 sources.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource); in initSampleShadingPrograms()
944 static const char* fragmentSource = in initSampleShadingPrograms() local
959 sources.glslSources.add("copy_sample_frag") << glu::FragmentSource(fragmentSource); in initSampleShadingPrograms()
979 static const char* fragmentSource = in initAlphaToCoverageColorUnusedAttachmentPrograms() local
991 sources.glslSources.add("color_frag") << glu::FragmentSource(fragmentSource); in initAlphaToCoverageColorUnusedAttachmentPrograms()
1765 std::ostringstream fragmentSource; in initPrograms() local
1766 fragmentSource << in initPrograms()
[all …]
DvktPipelineBlendOperationAdvancedTests.cpp1733 std::ostringstream fragmentSource; in initPrograms() local
1734 fragmentSource << "#version 310 es\n"; in initPrograms()
1735 fragmentSource << "layout(push_constant) uniform Color { highp vec4 color; };\n"; in initPrograms()
1737 fragmentSource << "layout(location = "<< i <<") out highp vec4 fragColor" << i <<";\n"; in initPrograms()
1738 fragmentSource << "void main (void)\n"; in initPrograms()
1739 fragmentSource << "{\n"; in initPrograms()
1741 fragmentSource << " fragColor" << i <<" = color;\n"; in initPrograms()
1742 fragmentSource << "}\n"; in initPrograms()
1743 programCollection.glslSources.add("frag") << glu::FragmentSource(fragmentSource.str().c_str()); in initPrograms()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBlendFuncExtendedTest.cpp297 void setupProgramPipeline(const char *vertexSource, const char *fragmentSource) in setupProgramPipeline() argument
301 mFragProgram = createShaderProgram(GL_FRAGMENT_SHADER, fragmentSource); in setupProgramPipeline()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.cpp586 const GLchar *fragmentSource = in drawWithTexture() local
605 mFragmentShader = makeShader(GL_FRAGMENT_SHADER, fragmentSource); in drawWithTexture()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()

12