mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[dxvk] Correctly detect viewport index or layer exports in DxvkShader
This commit is contained in:
parent
c3af42356f
commit
5c4b44c97c
@ -88,7 +88,8 @@ namespace dxvk {
|
||||
if (ins.arg(1) == spv::CapabilitySampleRateShading)
|
||||
m_flags.set(DxvkShaderFlag::HasSampleRateShading);
|
||||
|
||||
if (ins.arg(1) == spv::CapabilityShaderViewportIndexLayerEXT)
|
||||
if (ins.arg(1) == spv::CapabilityShaderViewportIndex
|
||||
|| ins.arg(1) == spv::CapabilityShaderLayer)
|
||||
m_flags.set(DxvkShaderFlag::ExportsViewportIndexLayerFromVertexStage);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user