[Mesa-dev] [v2] intel/blorp: Adjust intra-tile x when faking rgb with red-only

Jason Ekstrand jason at jlekstrand.net
Sat Aug 19 20:16:47 UTC 2017


Much better. Rb


On August 19, 2017 12:42:58 PM Topi Pohjolainen 
<topi.pohjolainen at gmail.com> wrote:

> v2 (Jason): Adjust directly in surf_fake_rgb_with_red()
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101910
>
> CC: Jason Ekstrand <jason at jlekstrand.net>
> CC: Mark Janes <mark.a.janes at intel.com>
> CC: mesa-stable at lists.freedesktop.org
>
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>  src/intel/blorp/blorp_blit.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
> index ed00516373..35008cbbb0 100644
> --- a/src/intel/blorp/blorp_blit.c
> +++ b/src/intel/blorp/blorp_blit.c
> @@ -1549,6 +1549,7 @@ surf_fake_rgb_with_red(const struct isl_device *isl_dev,
>
>     info->surf.logical_level0_px.width *= 3;
>     info->surf.phys_level0_sa.width *= 3;
> +   info->tile_x_sa *= 3;
>     *x *= 3;
>     *width *= 3;
>
> --
> 2.11.0
>




More information about the mesa-dev mailing list