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

pull/8/head
Yuri Kunde Schlesner 10 years ago
parent 618434d7fc
commit 5a75cf8fd2

@ -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;

Loading…
Cancel
Save