Home
last modified time | relevance | path

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

12

/external/deqp/modules/gles31/functional/
Des31fProgramStateQueryTests.cpp65 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
151 << glu::VertexSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
152 << glu::FragmentSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
153 << glu::GeometrySource(specializeShader(m_context, s_geometryTemplate1))); in iterate()
168 << glu::VertexSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
169 << glu::FragmentSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
170 << glu::GeometrySource(specializeShader(m_context, s_geometryTemplate2))); in iterate()
184 << glu::VertexSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
185 << glu::FragmentSource(specializeShader(m_context, s_vtxFragTemplate)) in iterate()
186 << glu::GeometrySource(specializeShader(m_context, s_geometryTemplate3))); in iterate()
[all …]
Des31fTessellationTests.cpp1542 static std::string specializeShader(Context& context, const char* code) in specializeShader() function
1706 << glu::VertexSource (specializeShader(m_context, vertexShaderTemplate.c_str())) in init()
1707 …<< glu::TessellationControlSource (specializeShader(m_context, tessellationControlTemplate.c_str(… in init()
1708 …<< glu::TessellationEvaluationSource (specializeShader(m_context, tessellationEvaluationTemplate.c… in init()
1709 << glu::FragmentSource (specializeShader(m_context, fragmentShaderTemplate.c_str())))); in init()
1958 << glu::VertexSource (specializeShader(m_context, vertexShaderTemplate.c_str())) in init()
1959 …<< glu::TessellationControlSource (specializeShader(m_context, tessellationControlTemplate.c_str(… in init()
1960 …<< glu::TessellationEvaluationSource (specializeShader(m_context, tessellationEvaluationTemplate.c… in init()
1961 << glu::FragmentSource (specializeShader(m_context, fragmentShaderTemplate.c_str())) in init()
2183 << 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
113 return specializeShader(source, m_context.getRenderContext().getType()); in getVertexSource()
126 return specializeShader(source, m_context.getRenderContext().getType()); in getFragmentSource()
367 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationControlSource()
405 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationEvaluationSource()
433 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getGeometrySource()
674 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationControlSource()
705 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getTessellationEvaluationSource()
760 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in getGeometrySource()
1407 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
218 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexExpanderShader()
219 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexExpanderShader()
293 return specializeShader(str.str(), contextType); in genGeometrySource()
321 << sglr::pdec::VertexSource(specializeShader(s_commonShaderSourceVertex, contextType)) in VertexEmitterShader()
322 << sglr::pdec::FragmentSource(specializeShader(s_commonShaderSourceFragment, contextType)) in VertexEmitterShader()
428 return specializeShader(str.str(), contextType); in genGeometrySource()
775 << sglr::pdec::VertexSource(specializeShader(vertexSource.str(), contextType)) in genProgramDeclaration()
776 << sglr::pdec::FragmentSource(specializeShader(fragmentSource.str(), contextType)) in genProgramDeclaration()
777 << 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
682 sources << glu::VertexSource(specializeShader(m_context, genVertexSource().c_str())); in init()
683 sources << glu::FragmentSource(specializeShader(m_context, genFragmentSource().c_str())); in init()
686 …sources << glu::TessellationControlSource(specializeShader(m_context, genTessellationControlSource… in init()
687 …<< glu::TessellationEvaluationSource(specializeShader(m_context, genTessellationEvaluationSource()… in init()
689 sources << glu::GeometrySource(specializeShader(m_context, genGeometrySource().c_str())); in init()
3428 …gramSources() << glu::VertexSource(specializeShader(m_context, vertexSource)) << glu::FragmentSour… in init()
3781 sources << glu::VertexSource(specializeShader(m_context, genVertexSource().c_str())); in init()
3782 sources << glu::FragmentSource(specializeShader(m_context, genFragmentSource().c_str())); in init()
3785 …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()
802 …text.getRenderContext(), glu::ProgramSources() << glu::VertexSource(specializeShader(m_context, ve… in genSamplerProgram()
832 …mSources() << glu::VertexSource(specializeShader(m_context, vertexShaderSource)) << glu::FragmentS… in genAlphaProgram()
1298 …text.getRenderContext(), glu::ProgramSources() << glu::VertexSource(specializeShader(m_context, ve… in genDrawShader()
1371 …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
1127 return glu::VertexSource(specializeShader(m_context, vertexSource.c_str())); in genVertexShaderSource()
1160 return glu::FragmentSource(specializeShader(m_context, fragmentSource.c_str())); in genFragmentShaderSource()
/external/deqp/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()
/external/deqp/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()
/external/deqp/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()
/external/deqp/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.hpp161 std::string specializeShader(const unsigned int parts, const char* const* code) const;
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferPrecision.cpp221 std::string shader_code = specializeShader(parts_count, sh_code_parts); in verifyShaderCompilationStatus()
/external/deqp/external/openglcts/modules/glesext/draw_elements_base_vertex/
DesextcDrawElementsBaseVertexTests.cpp1270 std::string fs_body = specializeShader(1, &functional_fs_code); in setUpFunctionalTestObjects()
1273 std::string gs_body = specializeShader(1, &functional_gs_code); in setUpFunctionalTestObjects()
1276 std::string tc_body = specializeShader(1, &functional_tc_code); in setUpFunctionalTestObjects()
1279 std::string te_body = specializeShader(1, &functional_te_code); in setUpFunctionalTestObjects()
1284 std::string vs_body = specializeShader(1, &functional_vs_code); in setUpFunctionalTestObjects()
1563 std::string fs_specialized_code = specializeShader(1, &negative_fs_code); in setUpNegativeTestObjects()
1565 std::string vs_specialized_code = specializeShader(1, &negative_vs_code); in setUpNegativeTestObjects()
/external/deqp/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()
/external/deqp/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()
/external/deqp/framework/opengl/
DgluShaderProgram.cpp144 …m_gl.specializeShader(m_shader, entryPoint, numSpecializationConstants, constantIndex, constantVal… in specialize()

12