aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
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/drivers/llvmpipe
parente1ffb72a05f9b50ee47767aaadbab3e47896ee14 (diff)
Revert "gallium: make handles of set_global_binding 64 bit"
This reverts commit e1ffb72a05f9b50ee47767aaadbab3e47896ee14
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_cs.c b/src/gallium/drivers/llvmpipe/lp_state_cs.c
index 81168be675f..92e156b4111 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_cs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_cs.c
@@ -1279,7 +1279,7 @@ static void
llvmpipe_set_global_binding(struct pipe_context *pipe,
unsigned first, unsigned count,
struct pipe_resource **resources,
- uint64_t **handles)
+ uint32_t **handles)
{
struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe);
struct lp_compute_shader *cs = llvmpipe->cs;
@@ -1305,7 +1305,7 @@ llvmpipe_set_global_binding(struct pipe_context *pipe,
for (i = 0; i < count; i++) {
uint64_t va;
- uint64_t offset;
+ uint32_t offset;
pipe_resource_reference(&cs->global_buffers[first + i], resources[i]);
struct llvmpipe_resource *lp_res = llvmpipe_resource(resources[i]);
offset = *handles[i];