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

[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

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: {