diff options
author | Dave Airlie <airlied@redhat.com> | 2023-06-07 15:00:56 +1000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-06-08 02:10:54 +0000 |
commit | d1cdf0d91a1d3a5cc92f2c4c53f287cf497d0eb4 (patch) | |
tree | 5c5ef847fc525d2bd5c97afb70864837130fe863 /src/gallium/drivers/softpipe/sp_compute.c | |
parent | 370cd08a5eb3c8f02639d09e99b5e66b136290da (diff) |
gallium/tgsi/draw/softpipe: remodel shader const/buffer bindings.
This remodels things around a buffer object.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23487>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_compute.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_compute.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_compute.c b/src/gallium/drivers/softpipe/sp_compute.c index b36acb7818b..15f0f3ede58 100644 --- a/src/gallium/drivers/softpipe/sp_compute.c +++ b/src/gallium/drivers/softpipe/sp_compute.c @@ -212,8 +212,7 @@ softpipe_launch_grid(struct pipe_context *context, (struct tgsi_image *)softpipe->tgsi.image[PIPE_SHADER_COMPUTE], (struct tgsi_buffer *)softpipe->tgsi.buffer[PIPE_SHADER_COMPUTE]); tgsi_exec_set_constant_buffers(machines[idx], PIPE_MAX_CONSTANT_BUFFERS, - softpipe->mapped_constants[PIPE_SHADER_COMPUTE], - softpipe->const_buffer_size[PIPE_SHADER_COMPUTE]); + softpipe->mapped_constants[PIPE_SHADER_COMPUTE]); idx++; } } |