diff options
author | Iago Toral Quiroga <[email protected]> | 2016-11-18 13:44:27 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2016-11-21 08:01:54 +0100 |
commit | 39c47e7698fdcc6fc215daf973d8762cfb8b02ca (patch) | |
tree | 6ac90bb248d9ebd42fca20852d4e849d7c2d238b /src/gbm | |
parent | a8b85f1f772ef45cdeba9d5d205d105e689c3bdf (diff) |
anv/state: enable coordinate address rounding for Min/Mag filters
This patch improves pass rate of dEQP-VK.texture.explicit_lod.2d.sizes.*
from 68.0% (98/144) to 83.3% (120/144) by enabling sampler address
rounding mode when the selected filter is not nearest, which is the same
thing we do for OpenGL.
These tests check texture filtering for various texture sizes and mipmap
levels. The failures (without this patch) affect cases where the target
texture has odd dimensions (like 57x35) and either the Min or the Mag filter
is not nearest.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gbm')
0 files changed, 0 insertions, 0 deletions