mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[dxbc] Fix ForkInstanceId type in EmitHsForkJoinPhase
This commit is contained in:
parent
2ab4710054
commit
b286b518c5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user