mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-05 06:00:36 +02:00
svga: dimension the dirty[] array with SVGA_STATE_MAX
This commit is contained in:
parent
e162f28228
commit
d432f462c2
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue