Skip to content

Commit

Permalink
Set pipeline layout for fragment_shading_rate tests
Browse files Browse the repository at this point in the history
The Vulkan spec requires there be a valid pipeline layout, even
when pipeline libraries are being used.

Components: Vulkan

Affects:

dEQP-VK.fragment_shading_rate.*.pipeline_library.*

VK-GL-CTS issue: 3764

Change-Id: I83486240c2e5e15f13a5d9610ee66d2e37ef06b9
  • Loading branch information
pdaniell-nv authored and mnetsch committed Jun 16, 2022
1 parent 4e28a43 commit 7c8f7f1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2558,6 +2558,7 @@ void FSRTestInstance::drawCommands(VkCommandBuffer cmdBuffer,
multisampleState,
shadingRateState)
.setupFragmentOutputState(renderPass, 0u, DE_NULL, multisampleState)
.setMonolithicPipelineLayout(pipelineLayout)
.buildPipeline();

vk.cmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelines.back().getPipeline());
Expand Down Expand Up @@ -2608,6 +2609,7 @@ void FSRTestInstance::drawCommands(VkCommandBuffer cmdBuffer,
multisampleState,
shadingRateState)
.setupFragmentOutputState(renderPass, 0u, DE_NULL, multisampleState)
.setMonolithicPipelineLayout(pipelineLayout)
.buildPipeline();

vk.cmdBindPipeline(cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelines.back().getPipeline());
Expand Down

0 comments on commit 7c8f7f1

Please sign in to comment.