mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 21:10:12 +01:00
mesa/compute: Fix indirect dispatch buffer size check on 32-bit systems
2655265fcb, but for compute.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
57763ee735
commit
2e2aa992ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue