mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-06 13:54:14 +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:
parent
ffede83d9e
commit
1da6617a73
@ -6317,8 +6317,8 @@ namespace dxvk {
|
|||||||
// VK_SAMPLE_COUNT_1_BIT
|
// VK_SAMPLE_COUNT_1_BIT
|
||||||
m_module.constvec4f32(0.5f, 0.5f, 0.0f, 0.0f),
|
m_module.constvec4f32(0.5f, 0.5f, 0.0f, 0.0f),
|
||||||
// VK_SAMPLE_COUNT_2_BIT
|
// 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.75f, 0.75f, 0.0f, 0.0f),
|
||||||
|
m_module.constvec4f32(0.25f, 0.25f, 0.0f, 0.0f),
|
||||||
// VK_SAMPLE_COUNT_4_BIT
|
// VK_SAMPLE_COUNT_4_BIT
|
||||||
m_module.constvec4f32(0.375f, 0.125f, 0.0f, 0.0f),
|
m_module.constvec4f32(0.375f, 0.125f, 0.0f, 0.0f),
|
||||||
m_module.constvec4f32(0.785f, 0.375f, 0.0f, 0.0f),
|
m_module.constvec4f32(0.785f, 0.375f, 0.0f, 0.0f),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user