diff options
author | Alex Deucher <[email protected]> | 2012-11-15 09:37:44 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2012-11-15 12:11:28 -0500 |
commit | 3893593732b07c91543530392f44f57fe343d8c4 (patch) | |
tree | 9a7c120953983b55cc2225983d54573dc98833b2 /src/gallium/drivers/radeonsi/sid.h | |
parent | 565c29f221660fbcf9cd49780a9baf937586b768 (diff) |
radeonsi: cleanup si_db()
Clean up a few magic numbers and rework the code a bit.
Signed-off-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/sid.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/sid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/sid.h b/src/gallium/drivers/radeonsi/sid.h index bc5fcdac0ac..57553a69be2 100644 --- a/src/gallium/drivers/radeonsi/sid.h +++ b/src/gallium/drivers/radeonsi/sid.h @@ -4645,6 +4645,8 @@ #define S_028044_FORMAT(x) (((x) & 0x1) << 0) #define G_028044_FORMAT(x) (((x) >> 0) & 0x1) #define C_028044_FORMAT 0xFFFFFFFE +#define V_028044_STENCIL_INVALID 0x00 +#define V_028044_STENCIL_8 0x01 #define S_028044_TILE_MODE_INDEX(x) (((x) & 0x07) << 20) #define G_028044_TILE_MODE_INDEX(x) (((x) >> 20) & 0x07) #define C_028044_TILE_MODE_INDEX 0xFF8FFFFF |