diff options
| author | 2021-04-15 22:46:11 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:27 -0400 | |
| commit | 183855e396cc6918d36fbf3e38ea426e934b4e3e (patch) | |
| tree | a665794753520c09a1d34d8a086352894ec1cb72 /src/shader_recompiler/shader_info.h | |
| parent | shader: Mark atomic instructions as writes (diff) | |
| download | yuzu-183855e396cc6918d36fbf3e38ea426e934b4e3e.tar.gz yuzu-183855e396cc6918d36fbf3e38ea426e934b4e3e.tar.xz yuzu-183855e396cc6918d36fbf3e38ea426e934b4e3e.zip | |
shader: Implement tessellation shaders, polygon mode and invocation id
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
| -rw-r--r-- | src/shader_recompiler/shader_info.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index 336c6131a..4dbf9ed12 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h | |||
| @@ -101,8 +101,10 @@ struct Info { | |||
| 101 | 101 | ||
| 102 | bool uses_workgroup_id{}; | 102 | bool uses_workgroup_id{}; |
| 103 | bool uses_local_invocation_id{}; | 103 | bool uses_local_invocation_id{}; |
| 104 | bool uses_invocation_id{}; | ||
| 104 | bool uses_is_helper_invocation{}; | 105 | bool uses_is_helper_invocation{}; |
| 105 | bool uses_subgroup_invocation_id{}; | 106 | bool uses_subgroup_invocation_id{}; |
| 107 | std::array<bool, 30> uses_patches{}; | ||
| 106 | 108 | ||
| 107 | std::array<InputVarying, 32> input_generics{}; | 109 | std::array<InputVarying, 32> input_generics{}; |
| 108 | bool loads_position{}; | 110 | bool loads_position{}; |
| @@ -110,6 +112,7 @@ struct Info { | |||
| 110 | bool loads_vertex_id{}; | 112 | bool loads_vertex_id{}; |
| 111 | bool loads_front_face{}; | 113 | bool loads_front_face{}; |
| 112 | bool loads_point_coord{}; | 114 | bool loads_point_coord{}; |
| 115 | bool loads_tess_coord{}; | ||
| 113 | bool loads_indexed_attributes{}; | 116 | bool loads_indexed_attributes{}; |
| 114 | 117 | ||
| 115 | std::array<bool, 8> stores_frag_color{}; | 118 | std::array<bool, 8> stores_frag_color{}; |
| @@ -120,6 +123,8 @@ struct Info { | |||
| 120 | bool stores_clip_distance{}; | 123 | bool stores_clip_distance{}; |
| 121 | bool stores_layer{}; | 124 | bool stores_layer{}; |
| 122 | bool stores_viewport_index{}; | 125 | bool stores_viewport_index{}; |
| 126 | bool stores_tess_level_outer{}; | ||
| 127 | bool stores_tess_level_inner{}; | ||
| 123 | bool stores_indexed_attributes{}; | 128 | bool stores_indexed_attributes{}; |
| 124 | 129 | ||
| 125 | bool uses_fp16{}; | 130 | bool uses_fp16{}; |