summaryrefslogtreecommitdiff
path: root/src/mesa/shader/programopt.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-05-07 19:48:06 +0100
committerKeith Whitwell <keithw@vmware.com>2009-05-08 10:04:14 +0100
commitd5c2ad8514ce8064d83febf647c9e726788b7924 (patch)
tree4ffde99d8e6e0eafd57ede40cbde705c1f508151 /src/mesa/shader/programopt.h
parent6826bad6a75e78729dd472ea26c87787c90ada4c (diff)
mesa/st: keep surface_copy arguments positive
The src/dest x,y, and w,h arguments of the pipe->surface_copy function are unsigned and the drivers aren't expecting negative (or extremly-large unsigned) values as inputs. Trim the requests at the state-tracker level before passing down.
Diffstat (limited to 'src/mesa/shader/programopt.h')
0 files changed, 0 insertions, 0 deletions