1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-29 17:52:18 +01:00

[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.
This commit is contained in:
Philip Rebohle 2018-08-01 11:38:59 +02:00
parent ffede83d9e
commit 1da6617a73
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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),