diff options
| author | bunnei <bunneidev@gmail.com> | 2018-07-21 18:50:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-21 18:50:14 -0700 |
| commit | 3ac736c0031672fc16d04b3e3c69ba5dffe75047 (patch) | |
| tree | 4dba6e9fbaded97082ff2228110d7bda91428593 /src/video_core/engines/shader_bytecode.h | |
| parent | f5e87f4ce19d7841452a1fb2ec3d9233d1dfae81 (diff) | |
| parent | bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc (diff) | |
Merge pull request #748 from lioncash/namespace
video_core: Use nested namespaces where applicable
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 65fa1495f..939a71022 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -15,8 +15,7 @@ #include "common/bit_field.h" #include "common/common_types.h" -namespace Tegra { -namespace Shader { +namespace Tegra::Shader { struct Register { /// Number of registers @@ -109,8 +108,7 @@ union Sampler { u64 value{}; }; -} // namespace Shader -} // namespace Tegra +} // namespace Tegra::Shader namespace std { @@ -127,8 +125,7 @@ struct make_unsigned<Tegra::Shader::Register> { } // namespace std -namespace Tegra { -namespace Shader { +namespace Tegra::Shader { enum class Pred : u64 { UnusedIndex = 0x7, @@ -784,5 +781,4 @@ private: } }; -} // namespace Shader -} // namespace Tegra +} // namespace Tegra::Shader |
