tgsi/exec: Fix orientation of DDY.
authorMichal Krol <michal@vmware.com>
Thu, 26 Nov 2009 19:38:43 +0000 (20:38 +0100)
committerMichal Krol <michal@vmware.com>
Thu, 26 Nov 2009 19:41:46 +0000 (20:41 +0100)
src/gallium/auxiliary/tgsi/tgsi_exec.c

index 268c5a632a52a5f5e1e0ee2ef153445115b0a28d..e22a1643c8806bf89fd4d1c75a30441239acadfc 100644 (file)
@@ -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