summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_blit.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-08-03 17:55:14 -0700
committerEric Anholt <eric@anholt.net>2009-08-03 17:56:49 -0700
commitd7430d942f6c7950a92367aeb13b80cf76ccad78 (patch)
tree8c3e94f8c013f8f824ee8116196961414a271eb5 /src/gallium/auxiliary/util/u_blit.h
parente340d4f9866db4bae391288e83a630a310b0dd2b (diff)
i965: Assert that the offset in the VBO is below the VBO size.
This avoids sending a bad buffer address to the GPU due to programmer error, and is permitted by the ARB_vbo spec. Note that we still have the opportunity to dereference past the end of the GPU, because we aren't clipping to a correct _MaxElement, but that appears to be harder than it should be. This gets us the 90% solution. Bug #19911.
Diffstat (limited to 'src/gallium/auxiliary/util/u_blit.h')
0 files changed, 0 insertions, 0 deletions