Home
last modified time | relevance | path

Searched refs:vertShader (Results 1 – 25 of 31) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawDifferingInterpolationTests.cpp60 string vertShader; member
118 const tcu::StringTemplate vertShader (string( in initPrograms() local
148 programCollection.glslSources.add("vert") << glu::VertexSource(vertShader.specialize(empty)); in initPrograms()
149 …programCollection.glslSources.add("vertFlatColor") << glu::VertexSource(vertShader.specialize(flat… in initPrograms()
150 …programCollection.glslSources.add("vertNoPerspective") << glu::VertexSource(vertShader.specialize(… in initPrograms()
171 const string vertShaderNames[2] = { m_data.vertShader, m_data.refVertShader }; in iterate()
DvktDrawAhbTests.cpp159 const PassthruVertShader vertShader; in generateRefImage() local
161 const rr::Program program (&vertShader, &fragShader); in generateRefImage()
223 std::stringstream vertShader; in initShaderSources() local
224 vertShader << "#version 430\n" in initShaderSources()
234 m_vertShaderSource = vertShader.str(); in initShaderSources()
DvktBasicDrawTests.cpp504 const PassthruVertShader vertShader; in generateRefImage() local
506 const rr::Program program (&vertShader, &fragShader); in generateRefImage()
627 std::stringstream vertShader; in initShaderSources() local
628 vertShader << "#version 430\n" in initShaderSources()
643 m_vertShaderSource = vertShader.str(); in initShaderSources()
DvktDrawExplicitVertexParameterTests.cpp238 const tcu::StringTemplate vertShader (string( in initPrograms() local
305 programCollection.glslSources.add("vert") << glu::VertexSource(vertShader.specialize(attributes)); in initPrograms()
DvktDrawInstancedTests.cpp713 const TestVertShader vertShader(instanceCount, firstInstance); in iterate() local
715 const rr::Program program (&vertShader, &fragShader); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderApiTests.cpp309 …og, glu::RenderContext& renderCtx, glu::Program& program, glu::Shader& vertShader, glu::Shader& fr… in logVertexFragmentProgram() argument
311 …DE_ASSERT(vertShader.getType() == glu::SHADERTYPE_VERTEX && fragShader.getType() == glu::SHADERTYP… in logVertexFragmentProgram()
315 logShader(log, renderCtx, vertShader); in logVertexFragmentProgram()
408 const GLuint vertShader = glCreateShader(GL_VERTEX_SHADER); in compileShaders() local
411 TCU_CHECK(vertShader != 0); in compileShaders()
414 glShaderSource(vertShader, 1, &vertSource, 0); in compileShaders()
415 glCompileShader(vertShader); in compileShaders()
422 m_vertShader = vertShader; in compileShaders()
787 glu::Shader& vertShader = shaders.createShader(glu::SHADERTYPE_VERTEX); in buildProgram() local
790 vertShader.compile(); in buildProgram()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderApiTests.cpp363 …og, glu::RenderContext& renderCtx, glu::Program& program, glu::Shader& vertShader, glu::Shader& fr… in logVertexFragmentProgram() argument
365 …DE_ASSERT(vertShader.getType() == glu::SHADERTYPE_VERTEX && fragShader.getType() == glu::SHADERTYP… in logVertexFragmentProgram()
369 logShader(log, renderCtx, vertShader); in logVertexFragmentProgram()
462 const GLuint vertShader = glCreateShader(GL_VERTEX_SHADER); in compileShaders() local
465 TCU_CHECK(vertShader != 0); in compileShaders()
468 glShaderSource(vertShader, 1, &vertSource, 0); in compileShaders()
469 glCompileShader(vertShader); in compileShaders()
476 m_vertShader = vertShader; in compileShaders()
847 glu::Shader& vertShader = shaders.createShader(glu::SHADERTYPE_VERTEX); in buildProgram() local
850 vertShader.compile(); in buildProgram()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DProgramPipelineTest.cpp527 GLShader vertShader(GL_VERTEX_SHADER); in TEST_P() local
533 glShaderSource(vertShader, 1, &vertString, nullptr); in TEST_P()
534 glCompileShader(vertShader); in TEST_P()
536 glAttachShader(mVertProg, vertShader); in TEST_P()
880 GLShader vertShader(GL_VERTEX_SHADER); in TEST_P() local
886 glShaderSource(vertShader, 1, &vertString, nullptr); in TEST_P()
887 glCompileShader(vertShader); in TEST_P()
889 glAttachShader(mVertProg, vertShader); in TEST_P()
DVulkanUniformUpdatesTest.cpp588 GLShader vertShader(GL_VERTEX_SHADER); in TEST_P() local
589 glShaderSource(vertShader, 1, &kPositionUniformVertexShader, nullptr); in TEST_P()
590 glCompileShader(vertShader); in TEST_P()
596 glAttachShader(program, vertShader); in TEST_P()
DGeometryShaderTest.cpp1627 GLShader vertShader(GL_VERTEX_SHADER); in TEST_P() local
1628 glShaderSource(vertShader, 1, &kVS, nullptr); in TEST_P()
1629 glCompileShader(vertShader); in TEST_P()
1633 glAttachShader(vertProg, vertShader); in TEST_P()
1674 glAttachShader(vertProg, vertShader); in TEST_P()
1679 glShaderSource(vertShader, 1, &otherVS, nullptr); in TEST_P()
1680 glCompileShader(vertShader); in TEST_P()
DFramebufferFetchTest.cpp986 GLShader vertShader(GL_VERTEX_SHADER); in ProgramPipelineTest() local
987 glShaderSource(vertShader, 1, &sourceArray[0], nullptr); in ProgramPipelineTest()
988 glCompileShader(vertShader); in ProgramPipelineTest()
990 glAttachShader(programVert, vertShader); in ProgramPipelineTest()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderCompilationCases.cpp455 deUint32 vertShader; member
477 …void setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext&) con…
632 deUint32 vertShader; member
1691 result.vertShader = gl.createShader(GL_VERTEX_SHADER); in createShadersAndProgram()
1695 gl.attachShader(result.program, result.vertShader); in createShadersAndProgram()
1701 void ShaderCompilerCase::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramC… in setShaderSources() argument
1706 gl.shaderSource(vertShader, 1, &vertShaderSourceCStr, DE_NULL); in setShaderSources()
1807 gl.detachShader(shadersAndProgram.program, shadersAndProgram.vertShader); in cleanup()
1809 gl.deleteShader(shadersAndProgram.vertShader); in cleanup()
1827 result.vert = getShaderInfoLog(gl, shadersAndProgram.vertShader); in getLogs()
[all …]
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderCompilationCases.cpp455 deUint32 vertShader; member
477 …void setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramContext&) con…
632 deUint32 vertShader; member
1711 result.vertShader = gl.createShader(GL_VERTEX_SHADER); in createShadersAndProgram()
1715 gl.attachShader(result.program, result.vertShader); in createShadersAndProgram()
1721 void ShaderCompilerCase::setShaderSources (deUint32 vertShader, deUint32 fragShader, const ProgramC… in setShaderSources() argument
1726 gl.shaderSource(vertShader, 1, &vertShaderSourceCStr, DE_NULL); in setShaderSources()
1827 gl.detachShader(shadersAndProgram.program, shadersAndProgram.vertShader); in cleanup()
1829 gl.deleteShader(shadersAndProgram.vertShader); in cleanup()
1847 result.vert = getShaderInfoLog(gl, shadersAndProgram.vertShader); in getLogs()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationOrderAttachmentAccessTests.cpp374 std::stringstream vertShader; in addSimpleVertexShader() local
375 vertShader << "#version 310 es\n" in addSimpleVertexShader()
381 programCollection.glslSources.add(dest) << glu::VertexSource(vertShader.str()); in addSimpleVertexShader()
464 std::stringstream vertShader; in addShadersInternal() local
465 vertShader << "#version 460\n" in addShadersInternal()
484 tcu::StringTemplate vertShaderTpl(vertShader.str()); in addShadersInternal()
562 std::stringstream vertShader; in addShadersInternal() local
563 vertShader << "#version 460\n" in addShadersInternal()
582 tcu::StringTemplate vertShaderTpl(vertShader.str()); in addShadersInternal()
DvktRasterizationProvokingVertexTests.cpp167 std::ostringstream vertShader; in initPrograms() local
169 vertShader << "#version 450\n" in initPrograms()
175 vertShader << "layout(xfb_buffer = 0, xfb_offset = 0, location = 1) out vec4 out_xfb;\n"; in initPrograms()
177 vertShader << "void main()\n" in initPrograms()
181 vertShader << " out_xfb = in_color;\n"; in initPrograms()
183 vertShader << " out_color = in_color;\n" in initPrograms()
196 programCollection.glslSources.add("vert") << glu::VertexSource(vertShader.str()); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktAttachmentRateTests.cpp151 VkShaderModule vertShader,
536 VkShaderModule vertShader, VkShaderModule fragShader, bool useShadingRate) const in buildGraphicsPipeline() argument
544 vertShader, // VkShaderModule module in buildGraphicsPipeline()
987 …Move<VkShaderModule> vertShader = createShaderModule(vk, device, m_context.getBinaryCollection()… in runComputeShaderMode() local
1032 …peline = buildGraphicsPipeline(0, *renderPass, *graphicsPipelineLayout, *vertShader, *fragShader); in runComputeShaderMode()
1137 …Move<VkShaderModule> vertShader = createShaderModule(vk, device, m_context.getBinaryCollection()… in runFragmentShaderMode() local
1168 …peline = buildGraphicsPipeline(0, *rateRenderPass, *ratePipelineLayout, *vertShader, *fragShader); in runFragmentShaderMode()
1278 …Move<VkShaderModule> vertShader = createShaderModule(vk, device, m_context.getBinaryCollection()… in runCopyMode() local
1307 …peline = buildGraphicsPipeline(0, *renderPass, *graphicsPipelineLayout, *vertShader, *fragShader); in runCopyMode()
1509 …Move<VkShaderModule> vertShader = createShaderModule(vk, *m_device, m_context.getBinaryCollectio… in runCopyModeOnTransferQueue() local
[all …]
DvktFragmentShadingRatePixelConsistency.cpp929 …Move<VkShaderModule> vertShader = createShaderModule(vk, device, m_context.getBinaryCollection().g… in iterate() local
939 *vertShader, // shader in iterate()
1073 …Move<VkShaderModule> vertShader = createShaderModule(vk, device, m_context.getBinaryCollection().g… in iterate() local
1083 *vertShader, // shader in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp411 VkShaderModule vertShader = DE_NULL; in registerDrawObject() local
527 vertShader = *object->shaderModules[shaderNdx]; in registerDrawObject()
552 vertShader, // const VkShaderModule vertexShaderModule in registerDrawObject()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcTextureCompatibilityTests.cpp67 const char* vertShader = variable
403 const auto vs = tcu::StringTemplate(vertShader).specialize(args); in initializeProgram()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm963 id<MTLFunction> vertShader = nil;
969 context, gl::ShaderType::Vertex, desc, &vertShader)))
977 vertShader = mVertexShader;
995 if (!vertShader)
1005 AutoObjCObj<MTLRenderPipelineDescriptor> objCDesc = ToObjC(vertShader, fragShader, desc);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBindPointTests.cpp481 Move<VkShaderModule> vertShader; in iterate() local
486 …if (hasGraphics) vertShader = createShaderModule(vkd, device, m_context.getBinaryCollection().get(… in iterate()
517 vertShader.get(), DE_NULL, DE_NULL, DE_NULL, fragShader.get(), // Shaders. in iterate()
DvktPipelineSamplerBorderSwizzleTests.cpp856 …const auto vertShader = createShaderModule(vkd, device, m_context.getBinaryCollection().get("vert"… in iterate() local
866 vertShader.get(), // VkShaderModule module; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFilteringTests.cpp621 static const char* vertShader = in initPrograms() local
645 programCollection.glslSources.add("vert") << glu::VertexSource(vertShader); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp497 …const VkShaderModule vertShader = shaderFlags & VK_SHADER_STAGE_VERTEX_BIT ? **shaderModules[VK_… in makeGraphicsPipeline() local
506 vertShader, // const VkShaderModule vertexShaderModule in makeGraphicsPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp312 const RefVertexShader vertShader; in renderReferenceTriangle() local
314 const rr::Program program (&vertShader, &fragShader); in renderReferenceTriangle()

12