mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
Pica: Fix DP3 instruction, which wasn't assigning to the w component
This commit is contained in:
parent
618434d7fc
commit
5a75cf8fd2
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ static void ProcessShaderCode(VertexShaderState& state) {
|
||||||
for (int i = 0; i < num_components; ++i)
|
for (int i = 0; i < num_components; ++i)
|
||||||
dot = dot + src1[i] * src2[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))
|
if (!swizzle.DestComponentEnabled(i))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue