Re: [Mesa-dev] [PATCH] swrast: fix Z testing of points/lines for 16-bit depth buffers

2012-01-09 Thread Brian Paul
On 01/09/2012 12:09 PM, Jose Fonseca wrote: - Original Message - We were comparing 32-bit Z buffer values against 16-bit fragment values. Need to do scaling like for the 24-bit case. Triangle Z testing was OK since it didn't hit this code path. --- src/mesa/swrast/s_depth.c | 36 +

Re: [Mesa-dev] [PATCH] swrast: fix Z testing of points/lines for 16-bit depth buffers

2012-01-09 Thread Jose Fonseca
- Original Message - > We were comparing 32-bit Z buffer values against 16-bit fragment > values. > Need to do scaling like for the 24-bit case. > > Triangle Z testing was OK since it didn't hit this code path. > --- > src/mesa/swrast/s_depth.c | 36 > +-

[Mesa-dev] [PATCH] swrast: fix Z testing of points/lines for 16-bit depth buffers

2012-01-06 Thread Brian Paul
We were comparing 32-bit Z buffer values against 16-bit fragment values. Need to do scaling like for the 24-bit case. Triangle Z testing was OK since it didn't hit this code path. --- src/mesa/swrast/s_depth.c | 36 +--- 1 files changed, 29 insertions(+), 7 delet