diff options
author | Nicolai Hähnle <[email protected]> | 2016-05-17 10:12:16 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-06-20 18:29:15 +0200 |
commit | 650137a9c8fb5ae4a214440ca3ebc43461e2d394 (patch) | |
tree | 0b38060a29cc13a16824fe6d4dc238ab066254dd /src/gallium/drivers | |
parent | 32fd92e028b4148f892b0640f83ac536b759f90a (diff) |
radeonsi/sid: add Fiji+ tesselation distribution mode
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/sid.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/sid.h b/src/gallium/drivers/radeonsi/sid.h index a6d5c05ec11..1363a44b808 100644 --- a/src/gallium/drivers/radeonsi/sid.h +++ b/src/gallium/drivers/radeonsi/sid.h @@ -7962,9 +7962,12 @@ #define S_028B50_ACCUM_QUAD(x) (((unsigned)(x) & 0xFF) << 16) #define G_028B50_ACCUM_QUAD(x) (((x) >> 16) & 0xFF) #define C_028B50_ACCUM_QUAD 0xFF00FFFF -#define S_028B50_DONUT_SPLIT(x) (((unsigned)(x) & 0xFF) << 24) -#define G_028B50_DONUT_SPLIT(x) (((x) >> 24) & 0xFF) -#define C_028B50_DONUT_SPLIT 0x00FFFFFF +#define S_028B50_DONUT_SPLIT(x) (((unsigned)(x) & 0x1F) << 24) +#define G_028B50_DONUT_SPLIT(x) (((x) >> 24) & 0x1F) +#define C_028B50_DONUT_SPLIT 0xE0FFFFFF +#define S_028B50_TRAP_SPLIT(x) (((unsigned)(x) & 0x7) << 29) /* Fiji+ */ +#define G_028B50_TRAP_SPLIT(x) (((x) >> 29) & 0x7) +#define C_028B50_TRAP_SPLIT 0x1FFFFFFF /* */ #define R_028B54_VGT_SHADER_STAGES_EN 0x028B54 #define S_028B54_LS_EN(x) (((unsigned)(x) & 0x03) << 0) @@ -8085,6 +8088,7 @@ #define V_028B6C_DISTRIBUTION_MODE_NO_DIST 0x00 #define V_028B6C_DISTRIBUTION_MODE_PATCHES 0x01 #define V_028B6C_DISTRIBUTION_MODE_DONUTS 0x02 +#define V_028B6C_DISTRIBUTION_MODE_TRAPEZOIDS 0x03 /* Fiji+ */ #define S_028B6C_MTYPE(x) (((unsigned)(x) & 0x03) << 19) #define G_028B6C_MTYPE(x) (((x) >> 19) & 0x03) #define C_028B6C_MTYPE 0xFFE7FFFF |