[Piglit] [PATCH] Add a biased variants of a textureLod() miplevel tests
Brian Paul
brianp at vmware.com
Wed Sep 9 13:07:37 PDT 2015
On 09/09/2015 03:59 AM, Krzesimir Nowak wrote:
> These tests have the same purpose as the
> {vs,fs}-textureLod-miplevels.shader_test ones. These are actually a
> slightly modified copies of those. The modifications are setting the
> lod_bias parameter to 1.0 and updating the expected colors in probes.
>
> This exposes a bug in softpipe, where it does not take lod_bias into
> account, so the colors returned in these tests are the same as in
> unbiased versions.
> ---
> .../fs-textureLod-miplevels-biased.shader_test | 196 +++++++++++++++++++++
> .../vs-textureLod-miplevels-biased.shader_test | 196 +++++++++++++++++++++
> 2 files changed, 392 insertions(+)
> create mode 100644 tests/spec/glsl-1.30/execution/fs-textureLod-miplevels-biased.shader_test
> create mode 100644 tests/spec/glsl-1.30/execution/vs-textureLod-miplevels-biased.shader_test
Reviewed-by: Brian Paul <brianp at vmware.com>
I verified that the tests pass on NVIDIA too.
I'll commit this patch for you (AFAIK, you don't have git write ability).
-Brian
More information about the Piglit
mailing list