On 06/23/2014 05:24 PM, [email protected] wrote:
From: Zack Rusin <[email protected]>

Increase the subpixel precision to 8 bits. This requires
changing some of the code to 64 bits to avoid overflows.

v2 (sroland): Query GL for the number of subpixel bits and use that
instead of a fixed 8 bits. Note that mesa drivers don't set this yet
individually always using default 4 bits (GL requires 4 bits, all d3d10
capable hw should have 8 bits) and gallium drivers even can't set it so
also add an override subpixel_bits arg so any desired precision can be tested.
---
  tests/general/triangle-rasterization.cpp | 96 ++++++++++++++++++--------------
  1 file changed, 53 insertions(+), 43 deletions(-)

Reviewed-by: Brian Paul <[email protected]>

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to