mesa/st: fix a set_sampler_views call parameter order
Fixes: e7b9561959
("gallium: implement compute pbo download")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18745>
This commit is contained in:
@@ -1168,9 +1168,9 @@ fail:
|
||||
/* Unbind all because st/mesa won't do it if the current shader doesn't
|
||||
* use them.
|
||||
*/
|
||||
pipe->set_sampler_views(pipe, PIPE_SHADER_COMPUTE, 0, 0, false,
|
||||
pipe->set_sampler_views(pipe, PIPE_SHADER_COMPUTE, 0, 0,
|
||||
st->state.num_sampler_views[PIPE_SHADER_COMPUTE],
|
||||
NULL);
|
||||
false, NULL);
|
||||
st->state.num_sampler_views[PIPE_SHADER_COMPUTE] = 0;
|
||||
pipe->set_shader_buffers(pipe, PIPE_SHADER_COMPUTE, 0, 1, NULL, 0);
|
||||
|
||||
|
Reference in New Issue
Block a user