2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Pica: Fix DP3 instruction, which wasn't assigning to the w component

This commit is contained in:
Yuri Kunde Schlesner 2015-07-19 19:01:59 -03:00
parent 618434d7fc
commit 5a75cf8fd2

View file

@ -221,7 +221,7 @@ static void ProcessShaderCode(VertexShaderState& state) {
for (int i = 0; i < num_components; ++i)
dot = dot + src1[i] * src2[i];
for (int i = 0; i < num_components; ++i) {
for (int i = 0; i < 4; ++i) {
if (!swizzle.DestComponentEnabled(i))
continue;