diff --git a/src/spirv/spirv_module.cpp b/src/spirv/spirv_module.cpp index d550a947c..78de2826b 100644 --- a/src/spirv/spirv_module.cpp +++ b/src/spirv/spirv_module.cpp @@ -3265,6 +3265,11 @@ namespace dxvk { } + void SpirvModule::opDemoteToHelperInvocation() { + m_code.putIns (spv::OpDemoteToHelperInvocationEXT, 1); + } + + void SpirvModule::opEmitVertex( uint32_t streamId) { if (streamId == 0) { diff --git a/src/spirv/spirv_module.h b/src/spirv/spirv_module.h index 69b907f72..38f9ed37c 100644 --- a/src/spirv/spirv_module.h +++ b/src/spirv/spirv_module.h @@ -1130,6 +1130,8 @@ namespace dxvk { void opReturn(); void opKill(); + + void opDemoteToHelperInvocation(); void opEmitVertex( uint32_t streamId);