diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.h')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.h b/src/shader_recompiler/backend/glsl/emit_context.h index 087eaff6a..1cd051b24 100644 --- a/src/shader_recompiler/backend/glsl/emit_context.h +++ b/src/shader_recompiler/backend/glsl/emit_context.h | |||
| @@ -6,6 +6,8 @@ | |||
| 6 | 6 | ||
| 7 | #include <string> | 7 | #include <string> |
| 8 | #include <utility> | 8 | #include <utility> |
| 9 | #include <vector> | ||
| 10 | |||
| 9 | #include <fmt/format.h> | 11 | #include <fmt/format.h> |
| 10 | 12 | ||
| 11 | #include "shader_recompiler/backend/glsl/reg_alloc.h" | 13 | #include "shader_recompiler/backend/glsl/reg_alloc.h" |
| @@ -109,11 +111,17 @@ public: | |||
| 109 | std::string_view stage_name = "invalid"; | 111 | std::string_view stage_name = "invalid"; |
| 110 | std::string_view attrib_name = "invalid"; | 112 | std::string_view attrib_name = "invalid"; |
| 111 | 113 | ||
| 114 | std::vector<u32> texture_buffer_bindings; | ||
| 115 | std::vector<u32> image_buffer_bindings; | ||
| 116 | std::vector<u32> texture_bindings; | ||
| 117 | std::vector<u32> image_bindings; | ||
| 118 | |||
| 112 | private: | 119 | private: |
| 113 | void SetupExtensions(std::string& header); | 120 | void SetupExtensions(std::string& header); |
| 114 | void DefineConstantBuffers(); | 121 | void DefineConstantBuffers(); |
| 115 | void DefineStorageBuffers(); | 122 | void DefineStorageBuffers(); |
| 116 | void DefineHelperFunctions(); | 123 | void DefineHelperFunctions(); |
| 124 | void SetupImages(Bindings& bindings); | ||
| 117 | }; | 125 | }; |
| 118 | 126 | ||
| 119 | } // namespace Shader::Backend::GLSL | 127 | } // namespace Shader::Backend::GLSL |