Pass fragment shading rate info to pre rasterization shader state
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 29 Sep 2022 12:34:49 +0000 (14:34 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Mon, 10 Oct 2022 16:03:59 +0000 (16:03 +0000)
commitd088b5fd5dd6b89492b974e9f90de3415987762d
tree39f3d25941b94c05666d94e080d3fcd6bb401421
parent49fad4fbf5d32659c982b4e01663a2ac19479cb7
Pass fragment shading rate info to pre rasterization shader state

Fragment shading rate info needs to be passed both as part of the
pre-rasterization shader state and as part of the fragment shader state
when creating pipelines, and it needs to be consistent in both cases.

The graphics pipeline library utilities were only passing that
information as part of the fragment shader state.

Affects:
dEQP-VK.fragment_shading_rate.*.misc_tests.*
dEQP-VK.fragment_shading_rate.*.basic.*
dEQP-VK.pipeline.*.mixed_attachment_samples.*
dEQP-VK.*.sample_locations_ext.*
dEQP-VK.pipeline.*.multisample_with_fragment_shading_rate.*

Components: Vulkan
VK-GL-CTS issue: 4006

Change-Id: Idebba54be2fe0a34a68aab1c5c9ba3d07affe47b
12 files changed:
external/vulkancts/framework/vulkan/vkPipelineConstructionUtil.cpp
external/vulkancts/framework/vulkan/vkPipelineConstructionUtil.hpp
external/vulkancts/modules/vulkan/fragment_shading_rate/vktFragmentShadingRateBasic.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineCreationFeedbackTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineMaxVaryingsTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleMixedAttachmentSamplesTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleSampleLocationsExtTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampleTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineMultisampledRenderToSingleSampledTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineSamplerBorderSwizzleTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineShaderModuleIdentifierTests.cpp
external/vulkancts/modules/vulkan/pipeline/vktPipelineSpecConstantTests.cpp