summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDavid Heidelberger <[email protected]>2013-10-23 21:25:12 +0200
committerTom Stellard <[email protected]>2013-10-23 13:13:36 -0700
commit2901e2efcd28c1041b2afc145812c0ab7f75bf2a (patch)
tree2b34055d9d1b7957dff477077ffd655e2affc73c /src/gallium
parentc1345720c86639bb570f3495b834916849d50e37 (diff)
clover: fix build after a3ed98f7aa85636579a5696bf036ec13e5c9104a
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/clover/core/kernel.cpp7
1 files 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();