projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e162f28
)
svga: dimension the dirty[] array with SVGA_STATE_MAX
author
Brian Paul
<brianp@vmware.com>
Tue, 15 Feb 2011 20:24:21 +0000
(13:24 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 17 Feb 2011 00:07:02 +0000
(17:07 -0700)
src/gallium/drivers/svga/svga_context.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_context.h
b/src/gallium/drivers/svga/svga_context.h
index 37ca417d2ff84327a9eca9e4f6de11d3d3fda525..106ea8d0e51dac7d43874ca3bbae1dfd9048938d 100644
(file)
--- 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;