From ed927fae7db2b63853c3cd0af8ec3918b9a53ef7 Mon Sep 17 00:00:00 2001 From: ziga-lunarg Date: Mon, 6 Mar 2023 15:07:02 +0100 Subject: Fix shader interface mismatch in pipeline cache tests Geometry shaders declared gl_PerVertex input, but the vertex shader does not have such an output Components: Vulkan VK-GL-CTS issue: 4320 Affected tests: dEQP-VK.pipeline.cache.* Change-Id: Iaf5d567295f6216848663a28696f8b7dddb71020 --- external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'external/vulkancts') diff --git a/external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp b/external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp index f1a10dcd6..63ac22624 100644 --- a/external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp +++ b/external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp @@ -659,10 +659,11 @@ void GraphicsCacheTest::initPrograms (SourceCollections& programCollection) cons { case VK_SHADER_STAGE_VERTEX_BIT: programCollection.glslSources.add("color_vert" + missSuffix) << glu::VertexSource( - "#version 310 es\n" + "#version 450\n" "layout(location = 0) in vec4 position;\n" "layout(location = 1) in vec4 color;\n" "layout(location = 0) out highp vec4 vtxColor;\n" + "out gl_PerVertex { vec4 gl_Position; };\n" "void main (void)\n" "{\n" " gl_Position = position;\n" -- cgit v1.2.3