Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fProgramStateQueryTests.cpp72 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
155 << glu::VertexSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
156 << glu::FragmentSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
157 << glu::GeometrySource(specializeShader(m_context, s_geometryTemplate1))); in iterate()
172 << glu::VertexSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
173 << glu::FragmentSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
174 << glu::GeometrySource(specializeShader(m_context, s_geometryTemplate2))); in iterate()
188 << glu::VertexSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
189 << glu::FragmentSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
190 << glu::GeometrySource(specializeShader(m_context, s_geometryTemplate3))); in iterate()
[all …]
Des31fTessellationTests.cpp1547 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
1737 << glu::VertexSource (specializeShader(m_context, vertexShaderTemplate.c_str())) in init()
1738 …<< glu::TessellationControlSource (specializeShader(m_context, tessellationControlTemplate.c_str(… in init()
1739 …<< glu::TessellationEvaluationSource (specializeShader(m_context, tessellationEvaluationTemplate.c… in init()
1740 << glu::FragmentSource (specializeShader(m_context, fragmentShaderTemplate.c_str())))); in init()
1994 << glu::VertexSource (specializeShader(m_context, vertexShaderTemplate.c_str())) in init()
1995 …<< glu::TessellationControlSource (specializeShader(m_context, tessellationControlTemplate.c_str(… in init()
1996 …<< glu::TessellationEvaluationSource (specializeShader(m_context, tessellationEvaluationTemplate.c… in init()
1997 << glu::FragmentSource (specializeShader(m_context, fragmentShaderTemplate.c_str())) in init()
2224 << glu::VertexSource (specializeShader(m_context, vertexShaderTemplate.c_str())) in init()
[all …]
Des31fShaderMultisampleInterpolationTests.cpp51 static std::string specializeShader(const std::string& shaderSource, const glu::ContextType& contex… in specializeShader() function
298 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource()
351 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource()
506 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource()
615 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource()
706 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource()
754 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource()
893 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource()
927 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource()
997 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource()
[all …]
Des31fTessellationGeometryInteractionTests.cpp57 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& conte… in specializeShader() function
119 return specializeShader(source, m_context.getRenderContext().getType()); in getVertexSource()
132 return specializeShader(source, m_context.getRenderContext().getType()); in getFragmentSource()
374 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationControlSource()
412 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationEvaluationSource()
440 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getGeometrySource()
682 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationControlSource()
713 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationEvaluationSource()
768 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getGeometrySource()
1416 return specializeShader(s_positionVertexShader, m_context.getRenderContext().getType()); in getVertexSource()
[all …]
Des31fGeometryShaderTests.cpp118 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& conte… in specializeShader() function
227 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexExpanderShader()
228 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexExpanderShader()
302 return specializeShader(str.str(), contextType); in genGeometrySource()
330 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexEmitterShader()
331 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexEmitterShader()
437 return specializeShader(str.str(), contextType); in genGeometrySource()
784 << sglr::pdec::VertexSource(specializeShader(vertexSource.str(), contextType)) in genProgramDeclaration()
785 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType)) in genProgramDeclaration()
786 << sglr::pdec::GeometrySource(specializeShader(geometrySource.str(), contextType)); in genProgramDeclaration()
[all …]
Des31fSynchronizationTests.cpp123 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
524 return specializeShader(m_context, buf.str().c_str()); in genShaderSource()
866 return specializeShader(m_context, buf.str().c_str()); in genShaderSource()
1807 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genWriteProgram()
1878 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadProgram()
1938 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadMultipleProgram()
2007 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genWriteInterleavedProgram()
2087 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadInterleavedProgram()
2144 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadZeroProgram()
2377 return specializeShader(m_context, buf.str().c_str()); in genComputeSource()
[all …]
Des31fPrimitiveBoundingBoxTests.cpp124 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
742 sources << glu::VertexSource(specializeShader(m_context, genVertexSource().c_str())); in init()
743 sources << glu::FragmentSource(specializeShader(m_context, genFragmentSource().c_str())); in init()
746 …sources << glu::TessellationControlSource(specializeShader(m_context, genTessellationControlSource… in init()
747 …<< glu::TessellationEvaluationSource(specializeShader(m_context, genTessellationEvaluationSource()… in init()
749 sources << glu::GeometrySource(specializeShader(m_context, genGeometrySource().c_str())); in init()
3516 …gramSources() << glu::VertexSource(specializeShader(m_context, vertexSource)) << glu::FragmentSour… in init()
3885 sources << glu::VertexSource(specializeShader(m_context, genVertexSource().c_str())); in init()
3886 sources << glu::FragmentSource(specializeShader(m_context, genFragmentSource().c_str())); in init()
3889 …sources << glu::TessellationControlSource(specializeShader(m_context, genTessellationControlSource… in init()
[all …]
Des31fTextureMultisampleTests.cpp126 std::string specializeShader (Context& context, const char* code) in specializeShader() function
356 << glu::VertexSource(specializeShader(m_context, vertexShaderSource)) in genMultisampleTexture()
357 << glu::FragmentSource(specializeShader(m_context, fragmentShaderSource))); in genMultisampleTexture()
440 …mSources() << glu::VertexSource(specializeShader(m_context, vertexShaderSource)) << glu::FragmentS… in genSamplerProgram()
804 …text.getRenderContext(), glu::ProgramSources() << glu::VertexSource(specializeShader(m_context, ve… in genSamplerProgram()
834 …mSources() << glu::VertexSource(specializeShader(m_context, vertexShaderSource)) << glu::FragmentS… in genAlphaProgram()
1349 …text.getRenderContext(), glu::ProgramSources() << glu::VertexSource(specializeShader(m_context, ve… in genDrawShader()
1426 …text.getRenderContext(), glu::ProgramSources() << glu::VertexSource(specializeShader(m_context, ve… in genSamplerShader()
Des31fShaderTextureSizeTests.cpp55 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
189 …text.getRenderContext(), glu::ProgramSources() << glu::VertexSource(specializeShader(m_context, s_… in init()
Des31fTextureGatherTests.cpp81 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
1124 return glu::VertexSource(specializeShader(m_context, vertexSource.c_str())); in genVertexShaderSource()
1157 return glu::FragmentSource(specializeShader(m_context, fragmentSource.c_str())); in genFragmentShaderSource()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLinking.cpp118 std::string specialized_fs_code = specializeShader(1, &dummy_fs_code); in initShaderObjects()
120 std::string specialized_gs_code = specializeShader(1, &dummy_gs_code); in initShaderObjects()
381 std::string specialized_fs_code = specializeShader(1, &dummy_fs_code); in initShaderObjects()
384 std::string specialized_gs_code = specializeShader(1, &gs_code_raw); in initShaderObjects()
385 std::string specialized_vs_code = specializeShader(1, &dummy_vs_code); in initShaderObjects()
678 std::string specialized_vs_code = specializeShader(1, /* parts */ in getSpecializedVSCode()
740 std::string specialized_fs_code = specializeShader(1, &dummy_fs_code); in initShaderObjects()
744 std::string specialized_gs_code = specializeShader(1, &gs_code_raw); in initShaderObjects()
982 std::string fs_code_specialized = specializeShader(1, &dummy_fs_code); in iterate()
984 std::string gs_code_specialized = specializeShader(1, &gs_code_raw); in iterate()
[all …]
DesextcGeometryShaderAPI.cpp272 std::string fs_specialized_code = specializeShader(1, in iterate()
275 std::string gs_specialized_code = specializeShader(1, in iterate()
278 std::string vs_specialized_code = specializeShader(1, in iterate()
640 std::string specialized_dummy_fs = specializeShader(1, in iterate()
643 std::string specialized_dummy_vs = specializeShader(1, in iterate()
978 std::string dummy_fs_specialized = specializeShader(1, in iterate()
981 std::string dummy_vs_specialized = specializeShader(1, &dummy_vs_code); in iterate()
1036 std::string gs_code_specialized = specializeShader(1, /* parts */ in iterate()
1279 std::string code_fs_specialized = specializeShader(1, /* parts */ in iterate()
1282 std::string code_gs_specialized = specializeShader(1, /* parts */ in iterate()
[all …]
DesextcGeometryShaderQualifiers.cpp167 std::string fs_code_specialized = TestCaseBase::specializeShader(1, /* parts */ in initProgram()
170 std::string gs_code_specialized = TestCaseBase::specializeShader(1, /* parts */ in initProgram()
173 std::string vs_code_specialized = TestCaseBase::specializeShader(1, /* parts */ in initProgram()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderGroupVoteTests.cpp316 m_shaders.push_back(new ComputeShader("availability", specializeShader(1, &shader))); in ShaderGroupVoteAvailabilityTestCase()
355 …new ComputeShader("allInvocationsARB", specializeShader(1, &shaderBase), tcu::IVec4(255, 255, 255,… in ShaderGroupVoteAllInvocationsTestCase()
371 …new ComputeShader("anyInvocationARB", specializeShader(1, &shaderBase), tcu::IVec4(0, 0, 0, 255))); in ShaderGroupVoteAnyInvocationTestCase()
386 …new ComputeShader("allInvocationsEqualARB", specializeShader(1, &shaderBase), tcu::IVec4(255, 255,… in ShaderGroupVoteAllInvocationsEqualTestCase()
391 …new ComputeShader("allInvocationsEqualARB", specializeShader(1, &shaderBase), tcu::IVec4(255, 255,… in ShaderGroupVoteAllInvocationsEqualTestCase()
417 m_specializationMap["EXPRESSION"] = specializeShader(1, &expression1); in ShaderGroupVoteWithVariablesTestCase()
419 new ComputeShader("allInvocations", specializeShader(1, &shaderBase), tcu::IVec4(0, 0, 0, 255))); in ShaderGroupVoteWithVariablesTestCase()
422 m_specializationMap["EXPRESSION"] = specializeShader(1, &expression2); in ShaderGroupVoteWithVariablesTestCase()
424 …new ComputeShader("anyInvocation", specializeShader(1, &shaderBase), tcu::IVec4(255, 255, 255, 255… in ShaderGroupVoteWithVariablesTestCase()
427 m_specializationMap["EXPRESSION"] = specializeShader(1, &expression3); in ShaderGroupVoteWithVariablesTestCase()
[all …]
DglcViewportArrayTests.cpp2562 std::string fragment = specializeShader(1, &frag_template); in iterate()
2563 std::string geometry = specializeShader(1, &geom_template); in iterate()
2564 std::string vertex = specializeShader(1, &vert_template); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderWinding.cpp116 glu::ProgramSources() << glu::VertexSource(specializeShader(1, &vs)) in init()
117 << glu::TessellationControlSource(specializeShader(1, &tcs)) in init()
118 << glu::TessellationEvaluationSource(specializeShader(1, &tes)) in init()
119 << glu::FragmentSource(specializeShader(1, &fs)))); in init()
DesextcTessellationShaderErrors.cpp320 std::string so_specialized_code = specializeShader(1, &so_unspecialized_code_ptr); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/
DesextcTestCaseBase.cpp337 std::string TestCaseBase::specializeShader(const unsigned int parts, const char* const* code) const in specializeShader() function in glcts::TestCaseBase
352 std::string specialized = specializeShader(shader_count, shader_string); in shaderSourceSpecialized()
418 std::string sh_merged_string = specializeShader(sh_parts, sh_code); in buildProgramVA()
DesextcTestCaseBase.hpp162 std::string specializeShader(const unsigned int parts, const char* const* code) const;
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/
DesextcDrawElementsBaseVertexTests.cpp1252 std::string fs_body = specializeShader(1, &functional_fs_code); in setUpFunctionalTestObjects()
1255 std::string gs_body = specializeShader(1, &functional_gs_code); in setUpFunctionalTestObjects()
1258 std::string tc_body = specializeShader(1, &functional_tc_code); in setUpFunctionalTestObjects()
1261 std::string te_body = specializeShader(1, &functional_te_code); in setUpFunctionalTestObjects()
1266 std::string vs_body = specializeShader(1, &functional_vs_code); in setUpFunctionalTestObjects()
1545 std::string fs_specialized_code = specializeShader(1, &negative_fs_code); in setUpNegativeTestObjects()
1547 std::string vs_specialized_code = specializeShader(1, &negative_vs_code); in setUpNegativeTestObjects()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferPrecision.cpp221 std::string shader_code = specializeShader(parts_count, sh_code_parts); in verifyShaderCompilationStatus()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGlSpirvTests.cpp924 gl.specializeShader(0xFFFF, "main", 0, DE_NULL, DE_NULL); in iterate()
939 gl.specializeShader(m_programId, "main", 0, DE_NULL, DE_NULL); in iterate()
954 gl.specializeShader(m_glslShaderId, "main", 0, DE_NULL, DE_NULL); in iterate()
969 gl.specializeShader(m_spirvShaderId, "entry", 0, DE_NULL, DE_NULL); in iterate()
987 gl.specializeShader(m_spirvShaderId, "main", 1, &specID, &specValue); in iterate()
1022 gl.specializeShader(m_spirvShaderId, "main", 0, DE_NULL, DE_NULL); in iterate()
1025 gl.specializeShader(m_spirvShaderId, "main", 0, DE_NULL, DE_NULL); in iterate()
Dgl4cShaderBallotTests.cpp340 specializeShader(pipeline.getShaderPartsCount(shaderType), pipeline.getShaderParts(shaderType)); in createShaderPrograms()
354 std::string shaderCompute = specializeShader(pipeline.getShaderPartsCount(glu::SHADERTYPE_COMPUTE), in createShaderPrograms()
/third_party/vk-gl-cts/modules/glshared/
DglsTextureBufferCase.cpp365 string specializeShader (const string& shaderTemplateString, glu::GLSLVersion glslVersion) in specializeShader() function
389 const string vertexShaderSource = specializeShader(vertexShaderTemplate, glslVersion); in createRenderProgram()
390 const string fragmentShaderSource = specializeShader(fragmentShaderTemplate, glslVersion); in createRenderProgram()
/third_party/vk-gl-cts/framework/opengl/
DgluShaderProgram.cpp144 …m_gl.specializeShader(m_shader, entryPoint, numSpecializationConstants, constantIndex, constantVal… in specialize()

12