/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawDifferingInterpolationTests.cpp | 60 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()
|
D | vktDrawAhbTests.cpp | 159 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()
|
D | vktBasicDrawTests.cpp | 504 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()
|
D | vktDrawExplicitVertexParameterTests.cpp | 238 const tcu::StringTemplate vertShader (string( in initPrograms() local 305 programCollection.glslSources.add("vert") << glu::VertexSource(vertShader.specialize(attributes)); in initPrograms()
|
D | vktDrawInstancedTests.cpp | 713 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/ |
D | es2fShaderApiTests.cpp | 309 …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/ |
D | es3fShaderApiTests.cpp | 363 …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/ |
D | ProgramPipelineTest.cpp | 527 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()
|
D | VulkanUniformUpdatesTest.cpp | 588 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()
|
D | GeometryShaderTest.cpp | 1627 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()
|
D | FramebufferFetchTest.cpp | 986 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/ |
D | es2pShaderCompilationCases.cpp | 455 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/ |
D | es3pShaderCompilationCases.cpp | 455 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/ |
D | vktRasterizationOrderAttachmentAccessTests.cpp | 374 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()
|
D | vktRasterizationProvokingVertexTests.cpp | 167 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/ |
D | vktAttachmentRateTests.cpp | 151 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 …]
|
D | vktFragmentShadingRatePixelConsistency.cpp | 929 …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/ |
D | vktDrawUtil.cpp | 411 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/ |
D | glcTextureCompatibilityTests.cpp | 67 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/ |
D | mtl_state_cache.mm | 963 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/ |
D | vktPipelineBindPointTests.cpp | 481 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()
|
D | vktPipelineSamplerBorderSwizzleTests.cpp | 856 …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/ |
D | vktYCbCrFilteringTests.cpp | 621 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/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 497 …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/ |
D | vktApiSmokeTests.cpp | 312 const RefVertexShader vertShader; in renderReferenceTriangle() local 314 const rr::Program program (&vertShader, &fragShader); in renderReferenceTriangle()
|