[dxso] Fix write mask for nrm

This commit is contained in:
Georg Lehmann 2022-08-22 23:25:47 +02:00 committed by Robin Kertels
parent 372a27fad2
commit 87b1f9fa2d
1 changed files with 1 additions and 1 deletions

View File

@ -2055,7 +2055,7 @@ namespace dxvk {
}
// r * rsq(r . r)
result.id = emitMul(vec3, emitRegisterExtend(rcpLength, 3)).id;
result.id = emitMul(emitRegisterLoad(src[0], mask), emitRegisterExtend(rcpLength, mask.popCount())).id;
break;
}
case DxsoOpcode::SinCos: {