From: Michal Krol Date: Thu, 26 Nov 2009 19:38:43 +0000 (+0100) Subject: tgsi/exec: Fix orientation of DDY. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=884007546c98b1779bf266ec5111b1e7e2b68b2e;p=mesa.git tgsi/exec: Fix orientation of DDY. --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 268c5a632a5..e22a1643c88 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.c +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c @@ -501,7 +501,7 @@ micro_ddy( dst->f[0] = dst->f[1] = dst->f[2] = - dst->f[3] = src->f[TILE_TOP_LEFT] - src->f[TILE_BOTTOM_LEFT]; + dst->f[3] = src->f[TILE_BOTTOM_LEFT] - src->f[TILE_TOP_LEFT]; } static void