[Piglit] [PATCH] texture-integer-glsl130: Expect 1 for alpha in R, RG, RGB cases.
maraeo at gmail.com
Thu Nov 22 09:55:49 PST 2012
On Thu, Nov 22, 2012 at 2:57 PM, Marek Olšák <maraeo at gmail.com> wrote:
> The test fails because it's wrong. The expected integer alpha is 1,
> but the "bias" is a large negative value, therefore (a - bias) is
> always <= 0, so the test always fails.
Correction: "bias" is a negative value, therefore (alpha + bias) = (1
+ bias) is always <= 0, thus the probed pixel is 0.
In other words, the patch breaks the test instead of fixing it.
More information about the Piglit