summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2020-04-24 09:29:07 +0200
committerMarkus Wick <markus@selfnet.de>2020-04-24 09:33:04 +0200
commite717a1df20b45dc9bd4b77bbbc3d54b1561189d3 (patch)
tree6163449db6bf315f86afff9f1d5f1dac1fad48c6 /src/video_core
parentFix -Werror=conversion error. (diff)
downloadyuzu-e717a1df20b45dc9bd4b77bbbc3d54b1561189d3.tar
yuzu-e717a1df20b45dc9bd4b77bbbc3d54b1561189d3.tar.gz
yuzu-e717a1df20b45dc9bd4b77bbbc3d54b1561189d3.tar.bz2
yuzu-e717a1df20b45dc9bd4b77bbbc3d54b1561189d3.tar.lz
yuzu-e717a1df20b45dc9bd4b77bbbc3d54b1561189d3.tar.xz
yuzu-e717a1df20b45dc9bd4b77bbbc3d54b1561189d3.tar.zst
yuzu-e717a1df20b45dc9bd4b77bbbc3d54b1561189d3.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/engines/shader_bytecode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 7231597d4..73d98fe8c 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -655,6 +655,7 @@ union Instruction {
}
constexpr Instruction(u64 value) : value{value} {}
+ constexpr Instruction(const Instruction& instr) : value(instr.value) {}
BitField<0, 8, Register> gpr0;
BitField<8, 8, Register> gpr8;