summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-01-31 17:22:35 +0100
committerMarek Olšák <[email protected]>2015-02-04 14:34:13 +0100
commit8f65e6eae8a3d44ff9ae04c62621e360a06ae29d (patch)
tree6bfe85ac54c7d272d0c6517d12049f8a3bc12505 /src/gallium/drivers/radeonsi/si_state.h
parent9af943c32e93ae7fd86f0c00dfd5b0e4c4e2430f (diff)
radeonsi: allow 64 descriptors per array
We need a slot for the stipple texture and the pixel shader already uses 32 textures (16 API slots + 16 FMASK slots). Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 3cd252c0e64..d2feb7da47e 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -155,9 +155,9 @@ struct si_descriptors {
unsigned buffer_offset;
/* The i-th bit is set if that element is dirty (changed but not emitted). */
- unsigned dirty_mask;
+ uint64_t dirty_mask;
/* The i-th bit is set if that element is enabled (non-NULL resource). */
- unsigned enabled_mask;
+ uint64_t enabled_mask;
/* We can't update descriptors directly because the GPU might be
* reading them at the same time, so we have to update them