diff options
| author | 2019-03-27 13:10:40 -0400 | |
|---|---|---|
| committer | 2019-03-27 13:10:43 -0400 | |
| commit | d68716efdcd399b23feed502fbf7767b4d31cc05 (patch) | |
| tree | 7dfd668b0be9cac24e521b11844713514f52ab4a /src | |
| parent | Merge pull request #2285 from lioncash/unused-struct (diff) | |
| download | yuzu-d68716efdcd399b23feed502fbf7767b4d31cc05.tar.gz yuzu-d68716efdcd399b23feed502fbf7767b4d31cc05.tar.xz yuzu-d68716efdcd399b23feed502fbf7767b4d31cc05.zip | |
gl_shader_manager: Amend Doxygen string for MaxwellUniformData
Previously only one line of the whole comment was in proper Doxygen
formatting.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h index 4970aafed..d0e0ab95b 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.h +++ b/src/video_core/renderer_opengl/gl_shader_manager.h | |||
| @@ -15,9 +15,9 @@ namespace OpenGL::GLShader { | |||
| 15 | using Tegra::Engines::Maxwell3D; | 15 | using Tegra::Engines::Maxwell3D; |
| 16 | 16 | ||
| 17 | /// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned | 17 | /// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned |
| 18 | // NOTE: Always keep a vec4 at the end. The GL spec is not clear whether the alignment at | 18 | /// @note Always keep a vec4 at the end. The GL spec is not clear whether the alignment at |
| 19 | // the end of a uniform block is included in UNIFORM_BLOCK_DATA_SIZE or not. | 19 | /// the end of a uniform block is included in UNIFORM_BLOCK_DATA_SIZE or not. |
| 20 | // Not following that rule will cause problems on some AMD drivers. | 20 | /// Not following that rule will cause problems on some AMD drivers. |
| 21 | struct MaxwellUniformData { | 21 | struct MaxwellUniformData { |
| 22 | void SetFromRegs(const Maxwell3D::State::ShaderStageInfo& shader_stage); | 22 | void SetFromRegs(const Maxwell3D::State::ShaderStageInfo& shader_stage); |
| 23 | alignas(16) GLvec4 viewport_flip; | 23 | alignas(16) GLvec4 viewport_flip; |