From 1da6617a7394bf61d41af4da08db6648cab6de66 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 1 Aug 2018 11:38:59 +0200 Subject: [PATCH] [dxbc] Fix sample location order for 2xMSAA case The sample locations were apparently incorrectly documented in the Vulkan spec and have changed with the 1.1.82 update. --- src/dxbc/dxbc_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp index 72bf0ba91..347b802ba 100644 --- a/src/dxbc/dxbc_compiler.cpp +++ b/src/dxbc/dxbc_compiler.cpp @@ -6317,8 +6317,8 @@ namespace dxvk { // VK_SAMPLE_COUNT_1_BIT m_module.constvec4f32(0.5f, 0.5f, 0.0f, 0.0f), // VK_SAMPLE_COUNT_2_BIT - m_module.constvec4f32(0.25f, 0.25f, 0.0f, 0.0f), m_module.constvec4f32(0.75f, 0.75f, 0.0f, 0.0f), + m_module.constvec4f32(0.25f, 0.25f, 0.0f, 0.0f), // VK_SAMPLE_COUNT_4_BIT m_module.constvec4f32(0.375f, 0.125f, 0.0f, 0.0f), m_module.constvec4f32(0.785f, 0.375f, 0.0f, 0.0f),