aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp_blit.c
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2016-11-29 09:56:23 +0200
committerTopi Pohjolainen <[email protected]>2017-01-27 08:57:26 +0200
commit542bb8504991c91d50f2b0302c2d04f58003030f (patch)
tree8ebdfa480050cfb708c30e9851b18062f9568946 /src/intel/blorp/blorp_blit.c
parent56094cfb9e04b729c5b7eade7ca461651ef8906d (diff)
intel/blorp/dbg: Name blit shaders for easy recognition in dumps
Blorp clears already have an equivalent. Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp_blit.c')
-rw-r--r--src/intel/blorp/blorp_blit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
index 111f1c13a81..8a944fba624 100644
--- a/src/intel/blorp/blorp_blit.c
+++ b/src/intel/blorp/blorp_blit.c
@@ -1302,6 +1302,8 @@ brw_blorp_get_blit_kernel(struct blorp_context *blorp,
struct brw_wm_prog_data prog_data;
nir_shader *nir = brw_blorp_build_nir_shader(blorp, mem_ctx, prog_key);
+ nir->info->name = ralloc_strdup(nir, "BLORP-blit");
+
struct brw_wm_prog_key wm_key;
brw_blorp_init_wm_prog_key(&wm_key);
wm_key.tex.compressed_multisample_layout_mask =