X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Famd%2Fcommon%2Fac_shader_info.h;h=79e5615254b8188cf584eb4d9658b4c611e2d624;hb=90c3bf07892c27c86c2474b14388e6b627454d76;hp=5f03e79a83dd4e5f33ab0ece790c4d0aea794936;hpb=e8ba03d32a766f947046253f914afb53260c17f2;p=mesa.git diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h index 5f03e79a83d..79e5615254b 100644 --- a/src/amd/common/ac_shader_info.h +++ b/src/amd/common/ac_shader_info.h @@ -30,15 +30,22 @@ struct ac_nir_compiler_options; struct ac_shader_info { bool needs_push_constants; uint32_t desc_set_used_mask; + bool needs_multiview_view_index; struct { bool has_vertex_buffers; /* needs vertex buffers and base/start */ bool needs_draw_id; + bool needs_instance_id; } vs; struct { + bool force_persample; bool needs_sample_positions; + bool uses_input_attachments; } ps; struct { - uint8_t grid_components_used; + bool uses_grid_size; + bool uses_block_id[3]; + bool uses_thread_id[3]; + bool uses_local_invocation_idx; } cs; };