Fix vkAttachmentRateTests
authorMohankumar Nekkarakalaya <mnekkara@qti.qualcomm.com>
Mon, 10 Jan 2022 22:36:17 +0000 (14:36 -0800)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Sun, 16 Jan 2022 00:11:48 +0000 (00:11 +0000)
commitc6ccebc28a01bdf6ba431c3d1d466748d4b13367
tree8cd8c156c694d270d57706e32c21b0c537e4ab9d
parent33b017434c3cbbdb6e9c1ea8983a987e151fdadf
Fix vkAttachmentRateTests

The VkRenderingFragmentShadingRateAttachmentInfoKHR struct has its
shadingRateAttachmentTexelSize member set to the dimension of FSR
attachment, instead of attachmentTexelSize provided by the test.

A graphics pipeline used to draw FSR attachment, which is then used to
draw another color attachment. But the VkPipelineRenderingCreateInfoKHR
used by this pipeline sets the color format to that of the color
attachment, instead of FSR attachment

Affects:
dEQP-VK.fragment_shading_rate.dynamic_rendering.attachment_rate.*

Components: Vulkan

VK-GL-CTS issue: 3439

Change-Id: I36dad0f7dfa267c702fb611cd3b1b285fe0bb339
external/vulkancts/modules/vulkan/fragment_shading_rate/vktAttachmentRateTests.cpp