agx: Model and pack gathers

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21264>
This commit is contained in:
Alyssa Rosenzweig
2023-02-09 22:10:05 -05:00
committed by Marge Bot
parent 8dc861dbb5
commit 978d3fefa8
4 changed files with 17 additions and 8 deletions

View File

@@ -335,9 +335,10 @@ typedef struct {
bool invert_cond : 1;
/* TODO: Handle tex ops more efficient */
enum agx_dim dim : 4;
bool offset : 1;
bool shadow : 1;
enum agx_dim dim : 4;
bool offset : 1;
bool shadow : 1;
enum agx_gather gather : 3;
/* Final st_vary op */
bool last : 1;
@@ -356,7 +357,7 @@ typedef struct {
bool saturate : 1;
unsigned mask : 4;
unsigned padding : 11;
unsigned padding : 8;
} agx_instr;
static inline void