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 <bri...@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


_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to