mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 14:50:11 +01:00
intel/blorp: Add subgroup_id input for compute programs
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11564>
This commit is contained in:
parent
51528aeb60
commit
998142ea4a
1 changed files with 5 additions and 2 deletions
|
|
@ -151,8 +151,11 @@ struct brw_blorp_wm_inputs
|
|||
*/
|
||||
float src_z;
|
||||
|
||||
/* Pad out to an integral number of registers */
|
||||
uint32_t pad[1];
|
||||
/* Note: Pad out to an integral number of registers when extending, but
|
||||
* make sure subgroup_id is the last 32-bit item.
|
||||
*/
|
||||
/* uint32_t pad[?]; */
|
||||
uint32_t subgroup_id;
|
||||
};
|
||||
|
||||
static inline nir_variable *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue