Home
last modified time | relevance | path

Searched refs:vertexSource (Results 1 - 25 of 40) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderLibraryCase.hpp102 const char* vertexSource, const char* fragmentSource);
135 void specializeShaders(const char* vertexSource, const char* fragmentSource, std::string& outVertexSource,
H A DglcShaderLibraryCase.cpp82 const char* vertexSource, const char* fragmentSource) in ShaderCase()
99 if (vertexSource && fragmentSource) in ShaderCase()
102 specializeShaders(vertexSource, fragmentSource, m_vertexSource, m_fragmentSource, valueBlock); in ShaderCase()
104 else if (vertexSource) in ShaderCase()
107 m_vertexSource = specializeVertexShader(vertexSource, valueBlock); in ShaderCase()
900 void ShaderCase::specializeShaders(const char* vertexSource, const char* fragmentSource, string& outVertexSource, in specializeShaders() argument
944 StringTemplate tmpl(vertexSource); in specializeShaders()
80 ShaderCase(tcu::TestContext& testCtx, RenderContext& renderCtx, const char* name, const char* description, ExpectResult expectResult, const std::vector<ValueBlock>& valueBlocks, GLSLVersion targetVersion, const char* vertexSource, const char* fragmentSource) ShaderCase() argument
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthBiasTests.cpp34 const char* vertexSource = nullptr; in RunDepthBiasTest() local
38 vertexSource = R"( in RunDepthBiasTest()
54 vertexSource = R"( in RunDepthBiasTest()
69 wgpu::ShaderModule vertexModule = utils::CreateShaderModule(device, vertexSource); in RunDepthBiasTest()
/third_party/vk-gl-cts/framework/opengl/
H A DgluContextInfo.cpp44 TryCompileProgram (const char* vertexSource, const char* fragmentSource) in TryCompileProgram() argument
45 : m_vertexSource (vertexSource) in TryCompileProgram()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fFboNoAttachmentTests.cpp71 const char* const vertexSource = "#version 310 es\n" in checkFramebufferSize() local
87 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferSize()
178 const char* const vertexSource = "#version 310 es\n" in checkFramebufferRenderable() local
192 const glu::ShaderProgram program (renderCtx, glu::makeVtxFragSources(vertexSource, fragmentSource)); in checkFramebufferRenderable()
H A Des31fShaderStateQueryTests.cpp121 const std::string vertexSource = tcu::StringTemplate(vertexSourceTemplate).specialize(shaderArgs); in iterate() local
123 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSource(vertexSource) << glu::FragmentSource(fragmentSource)); in iterate()
H A Des31fGeometryShaderTests.cpp622 std::ostringstream vertexSource; in genProgramDeclaration() local
639 // vertexSource in genProgramDeclaration()
641 vertexSource << "${GLSL_VERSION_DECL}\n" in genProgramDeclaration()
648 vertexSource << "void main (void)\n" in genProgramDeclaration()
655 vertexSource << "out highp vec4 v_geom_" << i << ";\n"; in genProgramDeclaration()
657 vertexSource << "void main (void)\n" in genProgramDeclaration()
667 vertexSource << "\tv_geom_0 = a_color;\n"; in genProgramDeclaration()
671 vertexSource << "\tv_geom_0 = a_color * 0.5;\n"; in genProgramDeclaration()
672 vertexSource << "\tv_geom_1 = a_color.zyxw * 0.5;\n"; in genProgramDeclaration()
678 vertexSource << "}\ in genProgramDeclaration()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderBuiltinVarTests.cpp233 std::ostringstream vertexSource; in initPrograms() local
234 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms()
242 programCollection.glslSources.add("vert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1495 std::ostringstream vertexSource; in initPrograms() local
1496 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1503 programCollection.glslSources.add("FragCoordMsaaVert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1657 std::ostringstream vertexSource; in initPrograms() local
1658 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1666 programCollection.glslSources.add("FragDepthVert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1671 std::ostringstream vertexSource; in initPrograms() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderBuiltinVarTests.cpp233 std::ostringstream vertexSource; in initPrograms() local
234 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms()
242 programCollection.glslSources.add("vert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1495 std::ostringstream vertexSource; in initPrograms() local
1496 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1503 programCollection.glslSources.add("FragCoordMsaaVert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1657 std::ostringstream vertexSource; in initPrograms() local
1658 vertexSource << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms()
1666 programCollection.glslSources.add("FragDepthVert") << glu::VertexSource(vertexSource.str()); in initPrograms()
1671 std::ostringstream vertexSource; in initPrograms() local
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsLongStressCase.hpp194 std::string vertexSource; member
206 : vertexSource (vtxShaderSource_) in ProgramContext()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp80 const char* vertexSource = in render() local
93 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource)); in render()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DDynamicHLSL.cpp697 std::string vertexSource = vertexShaderGL->getTranslatedSource();
698 angle::ReplaceSubstring(&vertexSource, std::string(MAIN_PROLOGUE_STUB_STRING),
700 angle::ReplaceSubstring(&vertexSource, std::string(VERTEX_OUTPUT_STUB_STRING),
702 vertexStream << vertexSource;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DVertexStateValidationTests.cpp24 const char* vertexSource) { in CreatePipeline()
25 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexSource); in CreatePipeline()
22 CreatePipeline(bool success, const utils::ComboVertexState& state, const char* vertexSource) CreatePipeline() argument
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessIndexAccessTests.cpp415 std::string vertexSource( in initPrograms()
423 sourceCollections.glslSources.add("vert") << glu::VertexSource(vertexSource); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessIndexAccessTests.cpp446 std::string vertexSource( in initPrograms()
454 sourceCollections.glslSources.add("vert") << glu::VertexSource(vertexSource); in initPrograms()
554 const std::string vertexSource( in initPrograms()
561 programs.glslSources.add("vert") << glu::VertexSource(vertexSource); in initPrograms()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
H A DDisplayGbm.cpp571 const GLchar *vertexSource = in drawWithTexture() local
604 mVertexShader = makeShader(GL_VERTEX_SHADER, vertexSource); in drawWithTexture()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBlendFuncExtendedTest.cpp297 void setupProgramPipeline(const char *vertexSource, const char *fragmentSource) in setupProgramPipeline() argument
299 mVertexProgram = createShaderProgram(GL_VERTEX_SHADER, vertexSource); in setupProgramPipeline()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp111 const char* vertexSource = in render() local
146 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSource, fragmentSource.str())); in render()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleTests.cpp924 std::ostringstream vertexSource; in initMultisamplePrograms() local
926 vertexSource << in initMultisamplePrograms()
947 sources.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initMultisamplePrograms()
955 std::ostringstream vertexSource; in initSampleShadingPrograms() local
958 vertexSource << in initSampleShadingPrograms()
978 sources.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initSampleShadingPrograms()
983 static const char* vertexSource = in initSampleShadingPrograms() local
1010 sources.glslSources.add("quad_vert") << glu::VertexSource(vertexSource); in initSampleShadingPrograms()
1017 std::ostringstream vertexSource; in initAlphaToCoverageColorUnusedAttachmentPrograms() local
1019 vertexSource << in initAlphaToCoverageColorUnusedAttachmentPrograms()
[all...]
H A DvktPipelineInputAssemblyTests.cpp304 std::ostringstream vertexSource; in initPrograms() local
306 vertexSource << in initPrograms()
319 sourceCollections.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampleTests.cpp924 std::ostringstream vertexSource; in initMultisamplePrograms() local
926 vertexSource << in initMultisamplePrograms()
947 sources.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initMultisamplePrograms()
955 std::ostringstream vertexSource; in initSampleShadingPrograms() local
957 vertexSource << in initSampleShadingPrograms()
975 sources.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initSampleShadingPrograms()
980 static const char* vertexSource = in initSampleShadingPrograms() local
1007 sources.glslSources.add("quad_vert") << glu::VertexSource(vertexSource); in initSampleShadingPrograms()
1014 std::ostringstream vertexSource; in initAlphaToCoverageColorUnusedAttachmentPrograms() local
1016 vertexSource << in initAlphaToCoverageColorUnusedAttachmentPrograms()
[all...]
H A DvktPipelineInputAssemblyTests.cpp306 std::ostringstream vertexSource; in initPrograms() local
308 vertexSource << in initPrograms()
321 sourceCollections.glslSources.add("color_vert") << glu::VertexSource(vertexSource.str()); in initPrograms()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cGlSpirvTests.cpp1674 ShaderSource vertexSource(glu::SHADERTYPE_VERTEX, m_commonVertex); in iterate()
1676 sources << vertexSource; in iterate() local
1678 vertexBinary = spirvUtils::makeSpirV(m_context.getTestContext().getLog(), vertexSource); in iterate()
H A Dgl4cSparseTexture2Tests.cpp1640 std::string vertexSource = st2_vertex_drawBuffer; in UncommittedDepthStencil()
1643 ShaderProgram program(gl, glu::makeVtxFragSources(vertexSource, fragmentSource)); in UncommittedDepthStencil()
1649 << ", vertexSource: " << vertexSource.c_str() << "\n" in UncommittedDepthStencil()
/third_party/vk-gl-cts/modules/egl/
H A 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()

Completed in 45 milliseconds

12