diff options
| author | 2021-06-03 20:57:52 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:37 -0400 | |
| commit | 34fdb6471d6050b438fd53a0406aedbf6b690600 (patch) | |
| tree | 0f483ab7f1e38bff1b03db30b9a000730df95913 /src/shader_recompiler/backend/glsl/emit_context.h | |
| parent | glsl: Refactor Global memory functions (diff) | |
| download | yuzu-34fdb6471d6050b438fd53a0406aedbf6b690600.tar.gz yuzu-34fdb6471d6050b438fd53a0406aedbf6b690600.tar.xz yuzu-34fdb6471d6050b438fd53a0406aedbf6b690600.zip | |
glsl: Cleanup and address feedback
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.h')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.h b/src/shader_recompiler/backend/glsl/emit_context.h index daca1b6f9..9bdca184f 100644 --- a/src/shader_recompiler/backend/glsl/emit_context.h +++ b/src/shader_recompiler/backend/glsl/emit_context.h | |||
| @@ -31,7 +31,7 @@ struct Program; | |||
| 31 | namespace Shader::Backend::GLSL { | 31 | namespace Shader::Backend::GLSL { |
| 32 | 32 | ||
| 33 | struct GenericElementInfo { | 33 | struct GenericElementInfo { |
| 34 | std::string name{}; | 34 | std::string name; |
| 35 | u32 first_element{}; | 35 | u32 first_element{}; |
| 36 | u32 num_components{}; | 36 | u32 num_components{}; |
| 37 | }; | 37 | }; |
| @@ -159,7 +159,6 @@ public: | |||
| 159 | 159 | ||
| 160 | bool uses_y_direction{}; | 160 | bool uses_y_direction{}; |
| 161 | bool uses_cc_carry{}; | 161 | bool uses_cc_carry{}; |
| 162 | bool supports_viewport_layer{}; | ||
| 163 | 162 | ||
| 164 | private: | 163 | private: |
| 165 | void SetupExtensions(std::string& header); | 164 | void SetupExtensions(std::string& header); |
| @@ -169,6 +168,7 @@ private: | |||
| 169 | void DefineHelperFunctions(); | 168 | void DefineHelperFunctions(); |
| 170 | std::string DefineGlobalMemoryFunctions(); | 169 | std::string DefineGlobalMemoryFunctions(); |
| 171 | void SetupImages(Bindings& bindings); | 170 | void SetupImages(Bindings& bindings); |
| 171 | void SetupTextures(Bindings& bindings); | ||
| 172 | }; | 172 | }; |
| 173 | 173 | ||
| 174 | } // namespace Shader::Backend::GLSL | 174 | } // namespace Shader::Backend::GLSL |