From 2901e2efcd28c1041b2afc145812c0ab7f75bf2a Mon Sep 17 00:00:00 2001 From: David Heidelberger Date: Wed, 23 Oct 2013 21:25:12 +0200 Subject: [PATCH] clover: fix build after a3ed98f7aa85636579a5696bf036ec13e5c9104a --- src/gallium/state_trackers/clover/core/kernel.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp index 10eb0e0b2ef..3bd08f058af 100644 --- a/src/gallium/state_trackers/clover/core/kernel.cpp +++ b/src/gallium/state_trackers/clover/core/kernel.cpp @@ -81,8 +81,8 @@ kernel::launch(command_queue &q, 0, exec.samplers.size(), exec.samplers.data()); - q.pipe->set_compute_sampler_views(q.pipe, 0, exec.sviews.size(), - exec.sviews.data()); + q.pipe->set_sampler_views(q.pipe, PIPE_SHADER_COMPUTE, 0, + exec.sviews.size(), exec.sviews.data()); q.pipe->set_compute_resources(q.pipe, 0, exec.resources.size(), exec.resources.data()); q.pipe->set_global_binding(q.pipe, 0, exec.g_buffers.size(), @@ -96,7 +96,8 @@ kernel::launch(command_queue &q, q.pipe->set_global_binding(q.pipe, 0, exec.g_buffers.size(), NULL, NULL); q.pipe->set_compute_resources(q.pipe, 0, exec.resources.size(), NULL); - q.pipe->set_compute_sampler_views(q.pipe, 0, exec.sviews.size(), NULL); + q.pipe->set_sampler_views(q.pipe, PIPE_SHADER_COMPUTE, 0, + exec.sviews.size(), NULL); q.pipe->bind_sampler_states(q.pipe, PIPE_SHADER_COMPUTE, 0, exec.samplers.size(), NULL); exec.unbind(); -- 2.30.2