mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxbc] SampleMask does not depend on SampleRateShading
This was fixed in a later revision of the SPIR-V 1.0 specification.
This commit is contained in:
parent
a6ace7908f
commit
126c50a674
@ -456,7 +456,6 @@ namespace dxvk {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case DxbcOperandType::InputCoverageMask: {
|
case DxbcOperandType::InputCoverageMask: {
|
||||||
m_module.enableCapability(spv::CapabilitySampleRateShading);
|
|
||||||
m_ps.builtinSampleMaskIn = emitNewBuiltinVariable({
|
m_ps.builtinSampleMaskIn = emitNewBuiltinVariable({
|
||||||
{ DxbcScalarType::Uint32, 1, 1 },
|
{ DxbcScalarType::Uint32, 1, 1 },
|
||||||
spv::StorageClassInput },
|
spv::StorageClassInput },
|
||||||
@ -465,7 +464,6 @@ namespace dxvk {
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case DxbcOperandType::OutputCoverageMask: {
|
case DxbcOperandType::OutputCoverageMask: {
|
||||||
m_module.enableCapability(spv::CapabilitySampleRateShading);
|
|
||||||
m_ps.builtinSampleMaskOut = emitNewBuiltinVariable({
|
m_ps.builtinSampleMaskOut = emitNewBuiltinVariable({
|
||||||
{ DxbcScalarType::Uint32, 1, 1 },
|
{ DxbcScalarType::Uint32, 1, 1 },
|
||||||
spv::StorageClassOutput },
|
spv::StorageClassOutput },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user