summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-16 00:47:48 +0100
committerMarek Olšák <[email protected]>2017-02-18 01:22:08 +0100
commit41a2157a689838e4c97d5a703bc2aeaf5a5e1b48 (patch)
treeaf948fb80cec189577f893cfdb5a0f23e8f50497 /src/gallium/drivers/radeonsi/si_state.h
parentf246ae1ee9b543ccd878a60a9cdb6f25d66a8d4e (diff)
radeonsi: make fix_fetch an array of uint8_t
so that we can add 3-component fallbacks. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 07b7d582752..cd44ed1b227 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -107,7 +107,7 @@ struct si_vertex_element
* in bytes if the size 3-workaround must be applied.
*/
uint32_t fix_size3;
- uint64_t fix_fetch;
+ uint8_t fix_fetch[SI_MAX_ATTRIBS];
uint32_t rsrc_word3[SI_MAX_ATTRIBS];
uint32_t format_size[SI_MAX_ATTRIBS];