diff options
author | Robert Ellison <papillo@tungstengraphics.com> | 2008-11-12 12:23:52 -0700 |
---|---|---|
committer | Robert Ellison <papillo@tungstengraphics.com> | 2008-11-12 12:24:22 -0700 |
commit | 44257a8e752a5f10aed7e5797b23cdb42120703c (patch) | |
tree | cb059e6d0a3e7370da4e9f2705a463567c436f5f /src/egl | |
parent | b44ec717c831bb2e3363ee79ae1faca7e0665bea (diff) |
CELL: fix stencil test bugs
Fixed a boneheaded error in the generation of SPU code that calculates
the results of the stencil test. Basically, all the greater than/less than
calculations were exactly inverted: they were coded as though the
given comparison took the stencil value as a left-hand operand and the
reference value as a right-hand operand, but the actual semantics always
put the reference as the left-hand operand and the stencil as the right-hand
operand.
With this fix, tests/dinoshade runs, as do all the other Mesa tests
and samples that use stencil (and that don't use texture formats
unsupported by Cell).
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions