diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-14 21:57:58 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-04-14 22:01:41 +0200 |
commit | e6224fec275a725bfbb261003c9db44a3da475df (patch) | |
tree | fe71eabcb16f765a3dbf107d8b7dca9dfde854f0 /src/video_core/engines | |
parent | gl_shader_decompiler: Cleanup log statements. (diff) | |
download | yuzu-e6224fec275a725bfbb261003c9db44a3da475df.tar yuzu-e6224fec275a725bfbb261003c9db44a3da475df.tar.gz yuzu-e6224fec275a725bfbb261003c9db44a3da475df.tar.bz2 yuzu-e6224fec275a725bfbb261003c9db44a3da475df.tar.lz yuzu-e6224fec275a725bfbb261003c9db44a3da475df.tar.xz yuzu-e6224fec275a725bfbb261003c9db44a3da475df.tar.zst yuzu-e6224fec275a725bfbb261003c9db44a3da475df.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index e285d097d..98af381df 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -247,6 +247,7 @@ static_assert(sizeof(OpCode) == 0x8, "Incorrect structure size"); namespace std { +// TODO(bunne): The below is forbidden by the C++ standard, but works fine. See #330. template <> struct make_unsigned<Tegra::Shader::Attribute> { using type = Tegra::Shader::Attribute; @@ -281,7 +282,6 @@ enum class SubOp : u64 { Rsq = 0x5, }; -#pragma pack(1) union Instruction { Instruction& operator=(const Instruction& instr) { hex = instr.hex; |