diff options
author | Eric Anholt <[email protected]> | 2019-01-23 14:26:53 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-01-25 13:06:50 -0800 |
commit | 08f4a904b386f3535719dff4c224ea5cfccc92cd (patch) | |
tree | fe37c929c2488ac9857036c7ce49f2f11058c49f /appveyor.yml | |
parent | 104c7883e777b3d5caca98ed96afc3c7c409d340 (diff) |
gallium: Make sure we return is_unorm/is_snorm for compressed formats.
The util helpers were looking for a non-void channels in a non-mixed
format and returning its snorm/unorm state. However, compressed formats
don't have non-void channels, so they always returned false. V3D wants to
use util_format_is_[su]norm for its border color clamping workarounds, so
fix the functions to return the right answer for these.
This now means that we ignore .is_mixed. I could retain the is_mixed
check, but it doesn't seem like a useful feature -- the only code I could
find that might care is freedreno's blit, which has some notes about how
things are wonky in this area anyway.
Reviewed-by: <Roland Scheidegger [email protected]>
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions