diff options
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
| -rw-r--r-- | src/shader_recompiler/shader_info.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h new file mode 100644 index 000000000..1760bf4a9 --- /dev/null +++ b/src/shader_recompiler/shader_info.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | // Copyright 2021 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include <array> | ||
| 8 | |||
| 9 | #include <boost/container/static_vector.hpp> | ||
| 10 | |||
| 11 | namespace Shader { | ||
| 12 | |||
| 13 | struct Info { | ||
| 14 | struct ConstantBuffer { | ||
| 15 | |||
| 16 | }; | ||
| 17 | |||
| 18 | struct { | ||
| 19 | bool workgroup_id{}; | ||
| 20 | bool local_invocation_id{}; | ||
| 21 | bool fp16{}; | ||
| 22 | bool fp64{}; | ||
| 23 | } uses; | ||
| 24 | |||
| 25 | std::array<18 | ||
| 26 | }; | ||
| 27 | |||
| 28 | } // namespace Shader | ||