mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
intel/compiler: Add structs to hold TUE/MUE
Used to specify the layout of 'Task URB Entry' and 'Mesh URB Entry'. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13661>
This commit is contained in:
parent
fcc1ccf541
commit
79e5e353e4
1 changed files with 26 additions and 0 deletions
|
|
@ -1418,6 +1418,32 @@ struct brw_clip_prog_data {
|
|||
uint32_t total_grf;
|
||||
};
|
||||
|
||||
struct brw_tue_map {
|
||||
int32_t start_dw[VARYING_SLOT_MAX];
|
||||
|
||||
uint32_t size_dw;
|
||||
|
||||
uint32_t per_task_data_start_dw;
|
||||
};
|
||||
|
||||
struct brw_mue_map {
|
||||
int32_t start_dw[VARYING_SLOT_MAX];
|
||||
|
||||
uint32_t size_dw;
|
||||
|
||||
uint32_t max_primitives;
|
||||
uint32_t per_primitive_start_dw;
|
||||
uint32_t per_primitive_header_size_dw;
|
||||
uint32_t per_primitive_data_size_dw;
|
||||
uint32_t per_primitive_pitch_dw;
|
||||
|
||||
uint32_t max_vertices;
|
||||
uint32_t per_vertex_start_dw;
|
||||
uint32_t per_vertex_header_size_dw;
|
||||
uint32_t per_vertex_data_size_dw;
|
||||
uint32_t per_vertex_pitch_dw;
|
||||
};
|
||||
|
||||
/* brw_any_prog_data is prog_data for any stage that maps to an API stage */
|
||||
union brw_any_prog_data {
|
||||
struct brw_stage_prog_data base;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue