Skip to content
Commit 86e749a9 authored by Francisco Jerez's avatar Francisco Jerez Committed by Juan A. Suarez Romero
Browse files

i965: Handle non-zero texture buffer offsets in buffer object range calculation.



Otherwise the specified surface state will allow the GPU to access
memory up to BufferOffset bytes past the end of the buffer.  Found by
inspection.

v2: Protect against out-of-range BufferOffset (Nanley).
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: default avatarNanley Chery <nanley.g.chery@intel.com>
(cherry picked from commit e989acb0)
parent 03eaee15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment