Fix samples in VkCoarseSampleLocationNV tests
authorziga-lunarg <ziga@lunarg.com>
Sat, 24 Sep 2022 21:00:25 +0000 (23:00 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 29 Sep 2022 20:34:37 +0000 (20:34 +0000)
VkCoarseSampleLocationNV::sample must be less than the number of
coverage samples in each pixel belongning to the fragment

Components: Vulkan

VK-GL-CTS issue: 3995

Affected tests:
dEQP-VK.dynamic_state.*.viewport_coarse_sample_order_nv.*

Change-Id: Ia44906d0129d0af9374b44ca1f6a423b31285311

external/vulkancts/modules/vulkan/dynamic_state/vktDynamicStateComputeTests.cpp

index 2b9cd2e..7165177 100644 (file)
@@ -394,7 +394,7 @@ void setCoarseSamplingOrder (const DeviceInterface* vkd, VkCommandBuffer cmdBuff
                {
                        0u,     //      deUint32        pixelX;
                        1u,     //      deUint32        pixelY;
-                       1u,     //      deUint32        sample;
+                       0u,     //      deUint32        sample;
                },
        };
        const VkCoarseSampleOrderCustomNV order =