summaryrefslogtreecommitdiffstats
path: root/src/video_core/vertex_shader.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-28 17:20:06 +0200
committerLioncash <mathew1800@gmail.com>2014-10-08 02:35:13 +0200
commiteb5054e6eb0d810f26caff9f09e43dbeee4a69fa (patch)
tree58a6e4f1e07f3ee8e2ad469bca7c2b43edac20a6 /src/video_core/vertex_shader.cpp
parentMerge pull request #118 from lioncash/chunk-file (diff)
downloadyuzu-eb5054e6eb0d810f26caff9f09e43dbeee4a69fa.tar
yuzu-eb5054e6eb0d810f26caff9f09e43dbeee4a69fa.tar.gz
yuzu-eb5054e6eb0d810f26caff9f09e43dbeee4a69fa.tar.bz2
yuzu-eb5054e6eb0d810f26caff9f09e43dbeee4a69fa.tar.lz
yuzu-eb5054e6eb0d810f26caff9f09e43dbeee4a69fa.tar.xz
yuzu-eb5054e6eb0d810f26caff9f09e43dbeee4a69fa.tar.zst
yuzu-eb5054e6eb0d810f26caff9f09e43dbeee4a69fa.zip
Diffstat (limited to 'src/video_core/vertex_shader.cpp')
-rw-r--r--src/video_core/vertex_shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp
index db8244317..96625791c 100644
--- a/src/video_core/vertex_shader.cpp
+++ b/src/video_core/vertex_shader.cpp
@@ -77,7 +77,7 @@ static void ProcessShaderCode(VertexShaderState& state) {
: nullptr;
const SwizzlePattern& swizzle = *(SwizzlePattern*)&swizzle_data[instr.common.operand_desc_id];
- const bool negate_src1 = swizzle.negate;
+ const bool negate_src1 = (swizzle.negate != 0);
float24 src1[4] = {
src1_[(int)swizzle.GetSelectorSrc1(0)],