diff options
author | Vincent Lejeune <[email protected]> | 2013-10-05 16:04:48 +0200 |
---|---|---|
committer | Vincent Lejeune <[email protected]> | 2013-10-13 20:03:42 +0200 |
commit | 6e51c2a941955fd2a34d62437fc149e633e79ec7 (patch) | |
tree | deebf3e85f4c9dcfc8efd0cd8328f1dc01c371be /src/gallium/drivers/radeonsi/si_state.h | |
parent | 453ea2d309c0314bea8a209f536e2b3c2c4d92c6 (diff) |
radeonsi: Allow Sinking pass to move preloaded const/res/sampl
This fixes a crash in Unigine Heaven 3.0, and probably in some
others apps.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 94a1521cdfc..6dbf8806b84 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -107,6 +107,7 @@ union si_state { */ #define FMASK_TEX_OFFSET NUM_TEX_UNITS #define NUM_SAMPLER_VIEWS (FMASK_TEX_OFFSET+NUM_TEX_UNITS) +#define NUM_SAMPLER_STATES NUM_TEX_UNITS #define NUM_CONST_BUFFERS 2 |