[Mesa-dev] [PATCH] st/mesa: fix WPOS adjustment

Christoph Bumiller e0425955 at student.tuwien.ac.at
Sat Apr 16 09:50:28 PDT 2011


I hope the new version is correct, the commit message describes why I
did the first change, and the second change is described in a comment.

Note that the MAD for inversion uses Height - 1 instead of Height.

With this, piglit glsl-arb-fragment-coord-conventions and
fbo-depth-sample-compare pass on nvc0.

I was assuming that integer pixel centers for size 100 range from 0 to
99 and half-integer pixel centers from 0.5 to 99.5.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-st-mesa-fix-WPOS-adjustment.patch
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110416/8aceb802/attachment.ksh>


More information about the mesa-dev mailing list