Commit 2e2aa992 authored by Jordan Justen's avatar Jordan Justen

mesa/compute: Fix indirect dispatch buffer size check on 32-bit systems

2655265f, but for compute.
Signed-off-by: Jordan Justen's avatarJordan Justen <>
Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <>
parent 57763ee7
......@@ -1107,7 +1107,7 @@ valid_dispatch_indirect(struct gl_context *ctx,
GLintptr indirect,
GLsizei size, const char *name)
GLintptr end = indirect + size;
const uint64_t end = (uint64_t) indirect + size;
if (!check_valid_to_compute(ctx, name))
return GL_FALSE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment