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:
Alyssa Rosenzweig
2022-09-23 23:15:10 -04:00
committed by Marge Bot
parent 6c95572ef0
commit f665229d77
5 changed files with 33 additions and 20 deletions

View File

@@ -257,17 +257,6 @@ enum agx_lod_mode {
AGX_LOD_MODE_LOD_GRAD_MIN = 12
};
enum agx_dim {
AGX_DIM_TEX_1D = 0,
AGX_DIM_TEX_1D_ARRAY = 1,
AGX_DIM_TEX_2D = 2,
AGX_DIM_TEX_2D_ARRAY = 3,
AGX_DIM_TEX_2D_MS = 4,
AGX_DIM_TEX_3D = 5,
AGX_DIM_TEX_CUBE = 6,
AGX_DIM_TEX_CUBE_ARRAY = 7
};
/* Forward declare for branch target */
struct agx_block;