diff options
| author | 2021-03-27 03:08:31 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:24 -0400 | |
| commit | 675a82416d7775dc7a252a5d8f5b704e6b8f2326 (patch) | |
| tree | 4964c92716029716255d75e26dcc033487df6b1e /src/shader_recompiler/frontend/ir | |
| parent | vk_pipeline_cache: Fix pipeline and shader caches (diff) | |
| download | yuzu-675a82416d7775dc7a252a5d8f5b704e6b8f2326.tar.gz yuzu-675a82416d7775dc7a252a5d8f5b704e6b8f2326.tar.xz yuzu-675a82416d7775dc7a252a5d8f5b704e6b8f2326.zip | |
spirv: Remove dependencies on Environment when generating SPIR-V
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/program.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/program.h b/src/shader_recompiler/frontend/ir/program.h index 733513c8b..0162e919c 100644 --- a/src/shader_recompiler/frontend/ir/program.h +++ b/src/shader_recompiler/frontend/ir/program.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <array> | ||
| 7 | #include <string> | 8 | #include <string> |
| 8 | 9 | ||
| 9 | #include <boost/container/small_vector.hpp> | 10 | #include <boost/container/small_vector.hpp> |
| @@ -19,6 +20,7 @@ struct Program { | |||
| 19 | BlockList post_order_blocks; | 20 | BlockList post_order_blocks; |
| 20 | Info info; | 21 | Info info; |
| 21 | Stage stage{}; | 22 | Stage stage{}; |
| 23 | std::array<u32, 3> workgroup_size{}; | ||
| 22 | }; | 24 | }; |
| 23 | 25 | ||
| 24 | [[nodiscard]] std::string DumpProgram(const Program& program); | 26 | [[nodiscard]] std::string DumpProgram(const Program& program); |