mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
radv: add radv_tcs_epilog_key
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24404>
This commit is contained in:
parent
f950eae10f
commit
198291f45b
2 changed files with 13 additions and 0 deletions
|
|
@ -85,6 +85,14 @@ radv_aco_convert_vs_prolog_key(struct aco_vs_prolog_info *aco_info, const struct
|
|||
aco_info->inputs = radv_args->prolog_inputs;
|
||||
}
|
||||
|
||||
static inline void
|
||||
radv_aco_convert_tcs_epilog_key(struct aco_tcs_epilog_info *aco_info, const struct radv_tcs_epilog_key *radv,
|
||||
const struct radv_shader_args *radv_args)
|
||||
{
|
||||
ASSIGN_FIELD(primitive_mode);
|
||||
ASSIGN_FIELD(tes_reads_tessfactors);
|
||||
}
|
||||
|
||||
static inline void
|
||||
radv_aco_convert_ps_epilog_key(struct aco_ps_epilog_info *aco_info, const struct radv_ps_epilog_key *radv,
|
||||
const struct radv_shader_args *radv_args)
|
||||
|
|
|
|||
|
|
@ -482,6 +482,11 @@ struct radv_vs_prolog_key {
|
|||
gl_shader_stage next_stage;
|
||||
};
|
||||
|
||||
struct radv_tcs_epilog_key {
|
||||
enum tess_primitive_mode primitive_mode;
|
||||
bool tes_reads_tessfactors;
|
||||
};
|
||||
|
||||
enum radv_shader_binary_type { RADV_BINARY_TYPE_LEGACY, RADV_BINARY_TYPE_RTLD };
|
||||
|
||||
struct radv_shader_binary {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue