Skip to content
Snippets Groups Projects
Commit 370c2b34 authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Emil Velikov
Browse files

st/mesa: avoid integer overflows with buffers >= 512MB


This fixes failures with the newly-submitted max-size texture buffer
piglit test for GPUs exposing >= 128M max texels.

Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarGlenn Kennard <glenn.kennard@gmail.com>
(cherry picked from commit eb081681)
parent bcb3bfd5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment