radeonsi: add context shader state for mesh shader
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37505>
This commit is contained in:
@@ -524,6 +524,7 @@ void si_begin_new_gfx_cs(struct si_context *ctx, bool first_cs)
|
||||
si_add_all_descriptors_to_bo_list(ctx);
|
||||
si_shader_pointers_mark_dirty(ctx);
|
||||
ctx->cs_shader_state.emitted_program = NULL;
|
||||
ctx->ts_shader_state.emitted_program = NULL;
|
||||
|
||||
/* The CS initialization should be emitted before everything else. */
|
||||
if (ctx->cs_preamble_state) {
|
||||
|
||||
@@ -1094,6 +1094,8 @@ struct si_context {
|
||||
struct si_shader_ctx_state shaders[SI_NUM_GRAPHICS_SHADERS];
|
||||
};
|
||||
struct si_cs_shader_state cs_shader_state;
|
||||
struct si_cs_shader_state ts_shader_state;
|
||||
struct si_shader_ctx_state ms_shader_state;
|
||||
bool compute_ping_pong_launch;
|
||||
/* if current tcs set by user */
|
||||
bool is_user_tcs;
|
||||
|
||||
Reference in New Issue
Block a user