aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2020-03-10 22:41:26 +0000
committerKarol Herbst <[email protected]>2020-03-10 22:41:26 +0000
commit6e035c01fb95686b9c48f2930104b90c7d12f0f7 (patch)
tree317455be8c8b209fdf1b84d068b41b93ed07a211 /src/gallium/state_trackers
parente1ffb72a05f9b50ee47767aaadbab3e47896ee14 (diff)
Revert "gallium: make handles of set_global_binding 64 bit"
This reverts commit e1ffb72a05f9b50ee47767aaadbab3e47896ee14
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/core/kernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/clover/core/kernel.cpp b/src/gallium/state_trackers/clover/core/kernel.cpp
index 428229c0503..3cffec320e1 100644
--- a/src/gallium/state_trackers/clover/core/kernel.cpp
+++ b/src/gallium/state_trackers/clover/core/kernel.cpp
@@ -59,8 +59,8 @@ kernel::launch(command_queue &q,
// The handles are created during exec_context::bind(), so we need make
// sure to call exec_context::bind() before retrieving them.
- std::vector<uint64_t *> g_handles = map([&](size_t h) {
- return (uint64_t *)&exec.input[h];
+ std::vector<uint32_t *> g_handles = map([&](size_t h) {
+ return (uint32_t *)&exec.input[h];
}, exec.g_handles);
q.pipe->bind_compute_state(q.pipe, st);