[Mesa-dev] [PATCH 1/4] i965: Print number of multisamples in INTEL_DEBUG=blorp output.

Anuj Phogat anuj.phogat at gmail.com
Fri Mar 21 12:05:38 PDT 2014


On Fri, Mar 21, 2014 at 4:47 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> This lets us distinguish MSAA resolves from other ordinary blits.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> Cc: Dylan Baker <baker.dylan.c at gmail.com>
> Cc: Keith Packard <keithp at keithp.com>
> Cc: Eric Anholt <eric at anholt.net>
> ---
>  src/mesa/drivers/dri/i965/brw_blorp_blit.cpp | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
> index 22a4a07..9e80935 100644
> --- a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
> @@ -151,12 +151,12 @@ brw_blorp_blit_miptrees(struct brw_context *brw,
>     intel_miptree_slice_resolve_depth(brw, src_mt, src_level, src_layer);
>     intel_miptree_slice_resolve_depth(brw, dst_mt, dst_level, dst_layer);
>
> -   DBG("%s from %s mt %p %d %d (%f,%f) (%f,%f)"
> -       "to %s mt %p %d %d (%f,%f) (%f,%f) (flip %d,%d)\n",
> +   DBG("%s from %dx %s mt %p %d %d (%f,%f) (%f,%f)"
> +       "to %dx %s mt %p %d %d (%f,%f) (%f,%f) (flip %d,%d)\n",
>         __FUNCTION__,
> -       _mesa_get_format_name(src_mt->format), src_mt,
> +       src_mt->num_samples, _mesa_get_format_name(src_mt->format), src_mt,
>         src_level, src_layer, src_x0, src_y0, src_x1, src_y1,
> -       _mesa_get_format_name(dst_mt->format), dst_mt,
> +       dst_mt->num_samples, _mesa_get_format_name(dst_mt->format), dst_mt,
>         dst_level, dst_layer, dst_x0, dst_y0, dst_x1, dst_y1,
>         mirror_x, mirror_y);
>
> --
> 1.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Ian has a comment on patch 2/4.
Patches 1, 3, 4 are Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list