diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-16 08:57:10 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-16 09:16:25 +0100 |
commit | c135317de106c59b0c326395ce15b901f2d4595d (patch) | |
tree | 078b4d8296ed4ef83d4d1ef12dc8a1cadf1ac7c2 /src/video_core/shader/shader_jit_x64.cpp | |
parent | Remove unnecessary cast (diff) | |
download | yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.gz yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.bz2 yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.lz yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.xz yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.zst yuzu-c135317de106c59b0c326395ce15b901f2d4595d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index 65898035e..c588b778b 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -188,7 +188,7 @@ void JitShader::Compile_SwizzleSrc(Instruction instr, unsigned src_num, SourceRe src_offset = ShaderSetup::GetFloatUniformOffset(src_reg.GetIndex()); } else { src_ptr = STATE; - src_offset = UnitState<false>::InputOffset(src_reg); + src_offset = UnitState::InputOffset(src_reg); } int src_offset_disp = (int)src_offset; @@ -266,7 +266,7 @@ void JitShader::Compile_DestEnable(Instruction instr, Xmm src) { SwizzlePattern swiz = {g_state.vs.swizzle_data[operand_desc_id]}; - size_t dest_offset_disp = UnitState<false>::OutputOffset(dest); + size_t dest_offset_disp = UnitState::OutputOffset(dest); // If all components are enabled, write the result to the destination register if (swiz.dest_mask == NO_DEST_REG_MASK) { |