pan/bi: Add constant field to bi_instruction
Now that we can index it. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
This commit is contained in:
parent
a2c1265dd3
commit
b5bdd89444
|
@ -127,6 +127,14 @@ typedef struct {
|
|||
unsigned dest;
|
||||
unsigned src[BIR_SRC_COUNT];
|
||||
|
||||
/* If one of the sources has BIR_INDEX_CONSTANT... */
|
||||
union {
|
||||
uint64_t u64;
|
||||
uint32_t u32;
|
||||
uint16_t u16[2];
|
||||
uint8_t u8[4];
|
||||
} constant;
|
||||
|
||||
/* Floating-point modifiers, type/class permitting. If not
|
||||
* allowed for the type/class, these are ignored. */
|
||||
enum bifrost_outmod outmod;
|
||||
|
|
Loading…
Reference in New Issue