agx: Print agx_dim appropriately
Easier to read, and gets us closer to proper disasm in Mesa. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18804>
This commit is contained in:

committed by
Marge Bot

parent
6c95572ef0
commit
f665229d77
@@ -93,7 +93,18 @@ SHIFT = immediate("shift")
|
||||
MASK = immediate("mask")
|
||||
BFI_MASK = immediate("bfi_mask")
|
||||
LOD_MODE = immediate("lod_mode", "enum agx_lod_mode")
|
||||
DIM = immediate("dim", "enum agx_dim")
|
||||
|
||||
DIM = enum("dim", {
|
||||
0: '1d',
|
||||
1: '1d_array',
|
||||
2: '2d',
|
||||
3: '2d_array',
|
||||
4: '2d_ms',
|
||||
5: '3d',
|
||||
6: 'cube',
|
||||
7: 'cube_array'
|
||||
})
|
||||
|
||||
OFFSET = immediate("offset", "bool")
|
||||
SHADOW = immediate("shadow", "bool")
|
||||
SCOREBOARD = immediate("scoreboard")
|
||||
|
Reference in New Issue
Block a user