diff options
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.h b/src/gallium/drivers/ilo/ilo_render.h index 0cf1d0311b0..a85b2800fb1 100644 --- a/src/gallium/drivers/ilo/ilo_render.h +++ b/src/gallium/drivers/ilo/ilo_render.h @@ -30,6 +30,7 @@ #include "ilo_common.h" +struct pipe_constant_buffer; struct ilo_blitter; struct ilo_builder; struct ilo_query; @@ -87,4 +88,17 @@ void ilo_render_emit_draw(struct ilo_render *render, const struct ilo_state_vector *vec); +int +ilo_render_get_launch_grid_len(const struct ilo_render *render, + const struct ilo_state_vector *vec); + +void +ilo_render_emit_launch_grid(struct ilo_render *render, + const struct ilo_state_vector *vec, + const unsigned thread_group_offset[3], + const unsigned thread_group_dim[3], + unsigned thread_group_size, + const struct pipe_constant_buffer *input, + uint32_t pc); + #endif /* ILO_RENDER_H */ |