mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
radeonsi: export si_init_compute_preamble_state for task shader
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38044>
This commit is contained in:
parent
0ee4747678
commit
e3ab6249f2
2 changed files with 2 additions and 2 deletions
|
|
@ -4978,8 +4978,7 @@ void si_init_screen_state_functions(struct si_screen *sscreen)
|
|||
si_create_vertex_state, si_vertex_state_destroy);
|
||||
}
|
||||
|
||||
static void si_init_compute_preamble_state(struct si_context *sctx,
|
||||
struct si_pm4_state *pm4)
|
||||
void si_init_compute_preamble_state(struct si_context *sctx, struct si_pm4_state *pm4)
|
||||
{
|
||||
uint64_t border_color_va =
|
||||
sctx->border_color_buffer ? sctx->border_color_buffer->gpu_address : 0;
|
||||
|
|
|
|||
|
|
@ -638,6 +638,7 @@ void si_init_state_compute_functions(struct si_context *sctx);
|
|||
void si_init_state_functions(struct si_context *sctx);
|
||||
void si_init_screen_state_functions(struct si_screen *sscreen);
|
||||
bool si_init_gfx_preamble_state(struct si_context *sctx);
|
||||
void si_init_compute_preamble_state(struct si_context *sctx, struct si_pm4_state *pm4);
|
||||
void si_make_buffer_descriptor(struct si_screen *screen, struct si_resource *buf,
|
||||
enum pipe_format format, unsigned offset, unsigned num_elements,
|
||||
uint32_t *state);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue