summaryrefslogtreecommitdiff
path: root/external/vulkancts
diff options
context:
space:
mode:
authorziga-lunarg <ziga@lunarg.com>2023-03-06 15:07:02 +0100
committerPiotr Byszewski <piotr.byszewski@mobica.com>2023-03-16 16:45:58 +0000
commited927fae7db2b63853c3cd0af8ec3918b9a53ef7 (patch)
treea59b74993639b0dbfa30459aa171e20068f0f5f1 /external/vulkancts
parent3700394afb3f7ac520f9d571270aac8c073a7818 (diff)
downloadVK-GL-CTS-ed927fae7db2b63853c3cd0af8ec3918b9a53ef7.tar.gz
VK-GL-CTS-ed927fae7db2b63853c3cd0af8ec3918b9a53ef7.tar.bz2
VK-GL-CTS-ed927fae7db2b63853c3cd0af8ec3918b9a53ef7.zip
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
Diffstat (limited to 'external/vulkancts')
-rw-r--r--external/vulkancts/modules/vulkan/pipeline/vktPipelineCacheTests.cpp3
1 files changed, 2 insertions, 1 deletions
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"