Mesa (main): intel/compiler: Add structs to hold TUE/MUE
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Dec 4 01:33:16 UTC 2021
Module: Mesa
Branch: main
Commit: 79e5e353e4a49a1be4a451e83f793c1ad3776baf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=79e5e353e4a49a1be4a451e83f793c1ad3776baf
Author: Caio Oliveira <caio.oliveira at intel.com>
Date: Tue May 18 11:06:59 2021 -0700
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 at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13661>
---
src/intel/compiler/brw_compiler.h | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index 16bce3222e2..268ee5c64b6 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -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;
More information about the mesa-commit
mailing list