diff options
| author | 2018-08-09 20:39:30 -0400 | |
|---|---|---|
| committer | 2018-08-09 20:45:48 -0400 | |
| commit | b8c43b608030dd3e52b792d7d6efd72f39723901 (patch) | |
| tree | c484fcc244d92470819efccf0ec1c6d1780f240f /src/video_core/engines | |
| parent | Merge pull request #997 from lioncash/const-func (diff) | |
| download | yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar.gz yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar.xz yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.zip | |
video_core: Use variable template variants of type_traits interfaces where applicable
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 3d4557b7e..3e409c2e1 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h | |||
| @@ -477,8 +477,7 @@ union Instruction { | |||
| 477 | u64 value; | 477 | u64 value; |
| 478 | }; | 478 | }; |
| 479 | static_assert(sizeof(Instruction) == 0x8, "Incorrect structure size"); | 479 | static_assert(sizeof(Instruction) == 0x8, "Incorrect structure size"); |
| 480 | static_assert(std::is_standard_layout<Instruction>::value, | 480 | static_assert(std::is_standard_layout_v<Instruction>, "Instruction is not standard layout"); |
| 481 | "Structure does not have standard layout"); | ||
| 482 | 481 | ||
| 483 | class OpCode { | 482 | class OpCode { |
| 484 | public: | 483 | public: |