From bb960c8cb43a3250d971cd8bb4adc5dd0c5baccc Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 20 Jul 2018 18:14:17 -0400 Subject: video_core: Use nested namespaces where applicable Compresses a few namespace specifiers to be more compact. --- src/video_core/engines/shader_bytecode.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/video_core/engines/shader_bytecode.h') 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 { } // 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 -- cgit v1.2.3