[spirv] Add support for OpDemoteToHelperInvocationEXT

This commit is contained in:
Philip Rebohle 2019-07-02 22:18:14 +02:00
parent 7b34b8515b
commit e901e1269d
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 7 additions and 0 deletions

View File

@ -3265,6 +3265,11 @@ namespace dxvk {
}
void SpirvModule::opDemoteToHelperInvocation() {
m_code.putIns (spv::OpDemoteToHelperInvocationEXT, 1);
}
void SpirvModule::opEmitVertex(
uint32_t streamId) {
if (streamId == 0) {

View File

@ -1130,6 +1130,8 @@ namespace dxvk {
void opReturn();
void opKill();
void opDemoteToHelperInvocation();
void opEmitVertex(
uint32_t streamId);