video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
This commit is contained in:
parent
c1c9ab31e8
commit
bb960c8cb4
11 changed files with 24 additions and 48 deletions
|
@ -12,8 +12,7 @@
|
|||
#include "video_core/renderer_opengl/gl_rasterizer.h"
|
||||
#include "video_core/renderer_opengl/gl_shader_decompiler.h"
|
||||
|
||||
namespace GLShader {
|
||||
namespace Decompiler {
|
||||
namespace GLShader::Decompiler {
|
||||
|
||||
using Tegra::Shader::Attribute;
|
||||
using Tegra::Shader::Instruction;
|
||||
|
@ -1845,5 +1844,4 @@ boost::optional<ProgramResult> DecompileProgram(const ProgramCode& program_code,
|
|||
return boost::none;
|
||||
}
|
||||
|
||||
} // namespace Decompiler
|
||||
} // namespace GLShader
|
||||
} // namespace GLShader::Decompiler
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
#include "video_core/engines/maxwell_3d.h"
|
||||
#include "video_core/renderer_opengl/gl_shader_gen.h"
|
||||
|
||||
namespace GLShader {
|
||||
namespace Decompiler {
|
||||
namespace GLShader::Decompiler {
|
||||
|
||||
using Tegra::Engines::Maxwell3D;
|
||||
|
||||
|
@ -23,5 +22,4 @@ boost::optional<ProgramResult> DecompileProgram(const ProgramCode& program_code,
|
|||
Maxwell3D::Regs::ShaderStage stage,
|
||||
const std::string& suffix);
|
||||
|
||||
} // namespace Decompiler
|
||||
} // namespace GLShader
|
||||
} // namespace GLShader::Decompiler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue