diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2015-07-20 00:09:20 +0200 |
---|---|---|
committer | Tony Wasserka <neobrainx@gmail.com> | 2015-07-20 00:09:20 +0200 |
commit | 74b8c5947bdc7931e58fc6453df78841f7d3d655 (patch) | |
tree | ca9acac0921e74dba8e07beae17cc6eeb19f3c8c | |
parent | Merge pull request #947 from archshift/hex-log (diff) | |
parent | Pica: Fix DP3 instruction, which wasn't assigning to the w component (diff) | |
download | yuzu-74b8c5947bdc7931e58fc6453df78841f7d3d655.tar yuzu-74b8c5947bdc7931e58fc6453df78841f7d3d655.tar.gz yuzu-74b8c5947bdc7931e58fc6453df78841f7d3d655.tar.bz2 yuzu-74b8c5947bdc7931e58fc6453df78841f7d3d655.tar.lz yuzu-74b8c5947bdc7931e58fc6453df78841f7d3d655.tar.xz yuzu-74b8c5947bdc7931e58fc6453df78841f7d3d655.tar.zst yuzu-74b8c5947bdc7931e58fc6453df78841f7d3d655.zip |
-rw-r--r-- | src/video_core/vertex_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp index 87006a832..d32c2e371 100644 --- a/src/video_core/vertex_shader.cpp +++ b/src/video_core/vertex_shader.cpp @@ -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; |