diff options
author | Dave Airlie <[email protected]> | 2017-03-30 08:05:42 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-04-01 07:15:35 +1000 |
commit | 39681627512498a1dad0c7d39cc92cac6692c91e (patch) | |
tree | 5332f20b9b1f56ffa48bba34d7bf5a69d514d3e7 /src/amd/common/ac_nir_to_llvm.h | |
parent | 46e52df34d3074f1fc649195dded461bcb64a231 (diff) |
radv/ac: setup tess rings on compiler side.
This just sets up the necessary pointers on the compiler
side for the rings needed for tessellation.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_nir_to_llvm.h')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h index 82e8ae12f54..c468d93f428 100644 --- a/src/amd/common/ac_nir_to_llvm.h +++ b/src/amd/common/ac_nir_to_llvm.h @@ -107,6 +107,8 @@ enum ac_ud_index { #define RING_ESGS_GS 2 #define RING_GSVS_VS 3 #define RING_GSVS_GS 4 +#define RING_HS_TESS_FACTOR 5 +#define RING_HS_TESS_OFFCHIP 6 // Match MAX_SETS from radv_descriptor_set.h #define AC_UD_MAX_SETS MAX_SETS |