1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-17 17:52:11 +01:00

[dxbc] Fix ForkInstanceId type in EmitHsForkJoinPhase

This commit is contained in:
Philip Rebohle 2018-03-29 14:05:38 +02:00
parent 2ab4710054
commit b286b518c5
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -5674,10 +5674,14 @@ namespace dxvk {
const DxbcCompilerHsForkJoinPhase& phase) {
this->emitHsInvocationBlockBegin(phase.instanceCount);
uint32_t invocationId = m_module.opLoad(
getScalarTypeId(DxbcScalarType::Uint32),
m_hs.builtinInvocationId);
m_module.opFunctionCall(
m_module.defVoidType(),
phase.functionId, 1,
&m_hs.builtinInvocationId);
&invocationId);
this->emitHsInvocationBlockEnd();
this->emitHsPhaseBarrier();