diff options
author | Dave Airlie <[email protected]> | 2018-06-15 11:20:53 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-08-01 14:00:31 +1000 |
commit | f8a8ea6a2da89bb6f7d97f286a0cf1202fb95d8e (patch) | |
tree | 0f5bf124b156536ecad986785104f7d9b3a538a2 /src/gallium/drivers/virgl/virgl_encode.h | |
parent | 157c6e81958d3b2223adf5567722b0502ada78ec (diff) |
virgl: add initial ARB_compute_shader support
This hooks up compute shader creation and launch grid support.
Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_encode.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_encode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.h b/src/gallium/drivers/virgl/virgl_encode.h index e353c3d04d5..c982eb954f3 100644 --- a/src/gallium/drivers/virgl/virgl_encode.h +++ b/src/gallium/drivers/virgl/virgl_encode.h @@ -90,6 +90,7 @@ extern int virgl_encode_shader_state(struct virgl_context *ctx, uint32_t handle, uint32_t type, const struct pipe_stream_output_info *so_info, + uint32_t cs_req_local_mem, const struct tgsi_token *tokens); int virgl_encode_stream_output_info(struct virgl_context *ctx, @@ -269,4 +270,6 @@ int virgl_encode_set_shader_images(struct virgl_context *ctx, const struct pipe_image_view *images); int virgl_encode_memory_barrier(struct virgl_context *ctx, unsigned flags); +int virgl_encode_launch_grid(struct virgl_context *ctx, + const struct pipe_grid_info *grid_info); #endif |