From: Brian Paul Date: Tue, 15 Feb 2011 20:24:21 +0000 (-0700) Subject: svga: dimension the dirty[] array with SVGA_STATE_MAX X-Git-Tag: mesa-7.11-rc1~2036 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d432f462c28b60e1b1a2bcb4e17bbda0ea316d2a;p=platform%2Fupstream%2Fmesa.git svga: dimension the dirty[] array with SVGA_STATE_MAX --- diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 37ca417..106ea8d 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -35,6 +35,8 @@ #include "tgsi/tgsi_scan.h" +#include "svga_state.h" + #define SVGA_TEX_UNITS 8 #define SVGA_MAX_POINTSIZE 80.0 @@ -342,7 +344,7 @@ struct svga_context struct util_bitmask *vs_bm; struct { - unsigned dirty[4]; + unsigned dirty[SVGA_STATE_MAX]; unsigned texture_timestamp;