Re: [Piglit] [PATCH] glsl-1.30: Verify proper conversion of large floats to uints.

2012-06-22 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/13/2012 04:59 PM, Paul Berry wrote: This patch adds two new tests that exercise a bug in Mesa/i965: conversion from float to uint was being done in a two step process: convert first to int and then to uint. Since i965 uses saturating

[Piglit] [PATCH] glsl-1.30: Verify proper conversion of large floats to uints.

2012-06-13 Thread Paul Berry
This patch adds two new tests that exercise a bug in Mesa/i965: conversion from float to uint was being done in a two step process: convert first to int and then to uint. Since i965 uses saturating arithmetic in float-int conversion, this caused conversion to give the wrong result for values