Required to model BLEND accurately on Valhall, where it encodes a special
relative branch... Midgard style!
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15223>
uint32_t fill;
uint32_t index;
uint32_t attribute_index;
- int32_t byte_offset;
- int32_t branch_offset;
struct {
uint32_t varying_index;
struct {
uint32_t sr_count;
uint32_t sr_count_2;
+
+ union {
+ /* Atomics effectively require all three */
+ int32_t byte_offset;
+
+ /* BLEND requires all three */
+ int32_t branch_offset;
+ };
};
};