summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.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_shader.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_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index 6398b39a0ec..46161907a67 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -250,7 +250,6 @@ enum {
SI_FIX_FETCH_RG_64_FLOAT,
SI_FIX_FETCH_RGB_64_FLOAT,
SI_FIX_FETCH_RGBA_64_FLOAT,
- SI_FIX_FETCH_RESERVED_15, /* maximum */
};
struct si_shader;
@@ -445,8 +444,8 @@ struct si_shader_key {
/* Flags for monolithic compilation only. */
union {
struct {
- /* One nibble for every input: SI_FIX_FETCH_* enums. */
- uint64_t fix_fetch;
+ /* One byte for every input: SI_FIX_FETCH_* enums. */
+ uint8_t fix_fetch[SI_MAX_ATTRIBS];
} vs;
struct {
uint64_t inputs_to_copy; /* for fixed-func TCS */