diff options
author | Nicolai Hähnle <[email protected]> | 2019-05-07 23:23:03 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-03 15:51:12 -0400 |
commit | 5726ec0d242083726dd4f7b47d98e8b53ec79335 (patch) | |
tree | 1dba659a044feb4f87b8bec0edf3db0dae99b244 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | b45c3debe845a6832d9b6cfec6184b933754f6e9 (diff) |
radeonsi/gfx10: implement si_build_vgt_shader_config
Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index d7edc7be9ae..a351e5004b1 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -785,7 +785,7 @@ union si_vgt_param_key { uint32_t index; }; -#define SI_NUM_VGT_STAGES_KEY_BITS 2 +#define SI_NUM_VGT_STAGES_KEY_BITS 4 #define SI_NUM_VGT_STAGES_STATES (1 << SI_NUM_VGT_STAGES_KEY_BITS) /* The VGT_SHADER_STAGES key used to index the table of precomputed values. @@ -796,9 +796,13 @@ union si_vgt_stages_key { #ifdef PIPE_ARCH_LITTLE_ENDIAN unsigned tess:1; unsigned gs:1; + unsigned ngg:1; /* gfx10+ */ + unsigned streamout:1; /* only used with NGG */ unsigned _pad:32 - SI_NUM_VGT_STAGES_KEY_BITS; #else /* PIPE_ARCH_BIG_ENDIAN */ unsigned _pad:32 - SI_NUM_VGT_STAGES_KEY_BITS; + unsigned streamout:1; + unsigned ngg:1; unsigned gs:1; unsigned tess:1; #endif |