ac/sqtt: add rgp_sqtt_marker_cb_id definition
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22670>
This commit is contained in:

committed by
Marge Bot

parent
5e20fbd424
commit
a7b4573c11
@@ -128,6 +128,26 @@ enum rgp_sqtt_marker_identifier
|
||||
RGP_SQTT_MARKER_IDENTIFIER_RESERVED6 = 0xF
|
||||
};
|
||||
|
||||
/**
|
||||
* Command buffer IDs used in RGP SQ thread-tracing markers (only 20 bits).
|
||||
*/
|
||||
union rgp_sqtt_marker_cb_id {
|
||||
struct {
|
||||
uint32_t per_frame : 1; /* Must be 1, frame-based command buffer ID. */
|
||||
uint32_t frame_index : 7;
|
||||
uint32_t cb_index : 12; /* Command buffer index within the frame. */
|
||||
uint32_t reserved : 12;
|
||||
} per_frame_cb_id;
|
||||
|
||||
struct {
|
||||
uint32_t per_frame : 1; /* Must be 0, global command buffer ID. */
|
||||
uint32_t cb_index : 19; /* Global command buffer index. */
|
||||
uint32_t reserved : 12;
|
||||
} global_cb_id;
|
||||
|
||||
uint32_t all;
|
||||
};
|
||||
|
||||
/**
|
||||
* RGP SQ thread-tracing marker for the start of a command buffer. (Table 2)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user