[Mesa-dev] [PATCH 3/9] intel/blorp/dbg: Name blit shaders for easy recognition in dumps

Anuj Phogat anuj.phogat at gmail.com
Thu Dec 22 23:37:15 UTC 2016


On Tue, Dec 20, 2016 at 6:45 AM, Topi Pohjolainen
<topi.pohjolainen at gmail.com> wrote:
> Blorp clears already have an equivalent.
>
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>  src/intel/blorp/blorp_blit.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
> index 8abe3a8..9dcd33f 100644
> --- a/src/intel/blorp/blorp_blit.c
> +++ b/src/intel/blorp/blorp_blit.c
> @@ -1299,6 +1299,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 =
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Patches 1-3 are:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list