Fix spec info in pipeline max varyings tests
authorTomasz Owczarek <tomasz.owczarek@arm.com>
Tue, 10 May 2022 14:46:28 +0000 (15:46 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Sat, 4 Jun 2022 13:28:12 +0000 (13:28 +0000)
Add missing VkSpecializationInfo to fragment shader stage.

Components: Vulkan

VK-GL-CTS issue: 3677

Affects:
dEQP-VK.pipeline.*.max_varyings*

Change-Id: Icf702ca953ad996e9081aa9197fbdcedd21dd191

external/vulkancts/modules/vulkan/pipeline/vktPipelineMaxVaryingsTests.cpp

index d8f156a..66d1616 100644 (file)
@@ -1065,7 +1065,7 @@ tcu::TestStatus test(Context& context, const MaxVaryingsParam param)
                                                                                                        *teseShaderModule,
                                                                                                        *geomShaderModule,
                                                                                                        &pSpecInfo)
-                                       .setupFragmentShaderState(*pipelineLayout, *renderPass, 0u, *fragShaderModule)
+                                       .setupFragmentShaderState(*pipelineLayout, *renderPass, 0u, *fragShaderModule, DE_NULL, DE_NULL, DE_NULL, &pSpecInfo)
                                        .setupFragmentOutputState(*renderPass)
                                        .setMonolithicPipelineLayout(*pipelineLayout)
                                        .buildPipeline();