diff options
author | Roland Scheidegger <sroland@vmware.com> | 2017-09-20 04:11:54 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2017-09-20 04:13:31 +0200 |
commit | 7f1f0f40dca636301d740ab08b1de3df6c6206a5 (patch) | |
tree | 2df69d8cffec946331ba56d3db2b193625a1a363 /tests/cl | |
parent | 2753955998d7deb90f681cf4cb1253c4519dfd1d (diff) |
arb_texture_query_lod: add tolerance for some comparisons
Tolerance was added for the tests a while ago, but it looks like it was
forgotten for the nearest_biased test (the nearest one has it).
Also, for the linear test, add tolerance too when comparing x and y lodq
results - the values should probably be the same mostly, however it's possible
(due to interpolation inaccuracies) to get values just below 0 or above 3, in
which case they will get clamped. (Could just do a clamp instead of allowing
tolerance I suppose, but some tolerance might be allowed in any case there
too.)
This is required for llvmpipe (with a in-progress change) to pass.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'tests/cl')
0 files changed, 0 insertions, 0 deletions