/external/deqp/modules/gles31/functional/ |
D | es31fProgramStateQueryTests.cpp | 65 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 …]
|
D | es31fTessellationTests.cpp | 1542 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 …]
|
D | es31fShaderMultisampleInterpolationTests.cpp | 51 static std::string specializeShader(const std::string& shaderSource, const glu::ContextType& contex… in specializeShader() function 290 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource() 343 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource() 498 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource() 607 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource() 698 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource() 746 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource() 885 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource() 919 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genFragmentSource() 989 return specializeShader(buf.str(), m_context.getRenderContext().getType()); in genVertexSource() [all …]
|
D | es31fTessellationGeometryInteractionTests.cpp | 57 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 …]
|
D | es31fGeometryShaderTests.cpp | 118 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 …]
|
D | es31fSynchronizationTests.cpp | 115 static std::string specializeShader(Context& context, const char* code) in specializeShader() function 518 return specializeShader(m_context, buf.str().c_str()); in genShaderSource() 860 return specializeShader(m_context, buf.str().c_str()); in genShaderSource() 1802 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genWriteProgram() 1873 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadProgram() 1933 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadMultipleProgram() 2002 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genWriteInterleavedProgram() 2082 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadInterleavedProgram() 2139 …ext.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(specializeShader(m_context, bu… in genReadZeroProgram() 2372 return specializeShader(m_context, buf.str().c_str()); in genComputeSource() [all …]
|
D | es31fPrimitiveBoundingBoxTests.cpp | 124 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 …]
|
D | es31fTextureMultisampleTests.cpp | 126 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()
|
D | es31fShaderTextureSizeTests.cpp | 55 static std::string specializeShader(Context& context, const char* code) in specializeShader() function 185 …text.getRenderContext(), glu::ProgramSources() << glu::VertexSource(specializeShader(m_context, s_… in init()
|
D | es31fTextureGatherTests.cpp | 81 static std::string specializeShader(Context& context, const char* code) in specializeShader() function 1126 return glu::VertexSource(specializeShader(m_context, vertexSource.c_str())); in genVertexShaderSource() 1159 return glu::FragmentSource(specializeShader(m_context, fragmentSource.c_str())); in genFragmentShaderSource()
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLinking.cpp | 118 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 …]
|
D | esextcGeometryShaderAPI.cpp | 272 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 …]
|
D | esextcGeometryShaderQualifiers.cpp | 167 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/ |
D | glcShaderGroupVoteTests.cpp | 316 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 …]
|
D | glcViewportArrayTests.cpp | 2562 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/ |
D | esextcTessellationShaderWinding.cpp | 116 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()
|
D | esextcTessellationShaderErrors.cpp | 320 std::string so_specialized_code = specializeShader(1, &so_unspecialized_code_ptr); in iterate()
|
/external/deqp/external/openglcts/modules/glesext/ |
D | esextcTestCaseBase.cpp | 337 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()
|
D | esextcTestCaseBase.hpp | 161 std::string specializeShader(const unsigned int parts, const char* const* code) const;
|
/external/deqp/external/openglcts/modules/glesext/draw_elements_base_vertex/ |
D | esextcDrawElementsBaseVertexTests.cpp | 1270 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/glesext/texture_buffer/ |
D | esextcTextureBufferPrecision.cpp | 221 std::string shader_code = specializeShader(parts_count, sh_code_parts); in verifyShaderCompilationStatus()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderBallotTests.cpp | 340 specializeShader(pipeline.getShaderPartsCount(shaderType), pipeline.getShaderParts(shaderType)); in createShaderPrograms() 354 std::string shaderCompute = specializeShader(pipeline.getShaderPartsCount(glu::SHADERTYPE_COMPUTE), in createShaderPrograms()
|
D | gl4cGlSpirvTests.cpp | 1331 gl.specializeShader(0xFFFF, "main", 0, DE_NULL, DE_NULL); in iterate() 1346 gl.specializeShader(m_programId, "main", 0, DE_NULL, DE_NULL); in iterate() 1361 gl.specializeShader(m_glslShaderId, "main", 0, DE_NULL, DE_NULL); in iterate() 1376 gl.specializeShader(m_spirvShaderId, "entry", 0, DE_NULL, DE_NULL); in iterate() 1394 gl.specializeShader(m_spirvShaderId, "main", 1, &specID, &specValue); in iterate() 1429 gl.specializeShader(m_spirvShaderId, "main", 0, DE_NULL, DE_NULL); in iterate() 1432 gl.specializeShader(m_spirvShaderId, "main", 0, DE_NULL, DE_NULL); in iterate()
|
/external/deqp/modules/glshared/ |
D | glsTextureBufferCase.cpp | 365 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/ |
D | gluShaderProgram.cpp | 144 …m_gl.specializeShader(m_shader, entryPoint, numSpecializationConstants, constantIndex, constantVal… in specialize()
|