pan/bi: Allow branch_offset on BLEND

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>
This commit is contained in:
Alyssa Rosenzweig
2022-03-17 12:15:37 -04:00
committed by Marge Bot
parent cfde0275e4
commit 1b7d7ebbab
+8 -2
View File
@@ -424,8 +424,6 @@ typedef struct {
uint32_t fill;
uint32_t index;
uint32_t attribute_index;
int32_t byte_offset;
int32_t branch_offset;
struct {
uint32_t varying_index;
@@ -437,6 +435,14 @@ typedef struct {
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;
};
};
};