mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 23:30:13 +01:00
anv: Make pipeline mode switches show which mode is being entered
This helps for debug when wanting to check which pipeline mode the driver has selected for a given section of a frame. Signed-off-by: Casey Bowman <casey.g.bowman@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38317>
This commit is contained in:
parent
3f795016d3
commit
bcdc0aae44
1 changed files with 4 additions and 1 deletions
|
|
@ -4907,7 +4907,10 @@ genX(flush_pipeline_select)(struct anv_cmd_buffer *cmd_buffer,
|
|||
intel_needs_workaround(cmd_buffer->device->info, 16013063087))
|
||||
bits |= ANV_PIPE_STATE_CACHE_INVALIDATE_BIT;
|
||||
|
||||
anv_add_pending_pipe_bits(cmd_buffer, bits, "flush/invalidate PIPELINE_SELECT");
|
||||
anv_add_pending_pipe_bits(cmd_buffer, bits,
|
||||
pipeline == _3D ?
|
||||
"flush/invalidate PIPELINE_SELECT 3D" :
|
||||
"flush/invalidate PIPELINE_SELECT GPGPU");
|
||||
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);
|
||||
|
||||
#if GFX_VER == 9
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue