[Piglit] [PATCH] triangle-rasterization: increase the precision of the test

Brian Paul brianp at vmware.com
Wed Jun 25 15:52:04 PDT 2014


On 06/23/2014 05:24 PM, sroland at vmware.com wrote:
> From: Zack Rusin <zackr at vmware.com>
>
> 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 <brianp at vmware.com>



More information about the Piglit mailing list