summaryrefslogtreecommitdiffstats
path: root/src/gbm
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-10-19 09:29:38 -0600
committerBrian Paul <[email protected]>2011-10-19 09:32:30 -0600
commitd3561bd0bc4a88ee0500460f8e0830a818e456a9 (patch)
treef4754b6ea3d64388a09a97f45669fd430c771d0b /src/gbm
parentab9136ef750a1209db26d6c9dffe299f4134682e (diff)
swrast: fix float->uint conversion of gl_FragDepth
Using IROUND() to convert a float depth value to a 32-bit uint Z value. didn't work (it returns a signed value). Just use a cast instead Fixes piglit fbo-depth-array failure with swrast. Note: this is a candidate for the 7.11 branch.
Diffstat (limited to 'src/gbm')
0 files changed, 0 insertions, 0 deletions