diff options
author | Iago Toral Quiroga <[email protected]> | 2015-02-02 13:59:27 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-02-04 08:08:34 +0100 |
commit | 1b029f8a4aa85546a8932f9005373c6c34a0eb7a (patch) | |
tree | 360ab7388d90cb731883681084b6c5be142f8f4c /src/mesa/drivers | |
parent | 6fd4a61ad6f19bcc8d693df6f84142ef7379509b (diff) |
mesa: Fix _mesa_format_convert fallback path when src is not an array format
When a rebase swizzle is provided and we call _mesa_swizzle_and_convert
after unpacking the source format we were always passing normalized=false.
We should pass true or false depending on the formats involved in the
conversion for the byte and float paths (the integer path cannot ever be
normalized).
Reviewed-by: Jason Ekstrand <[email protected]>
Tested-by: Mark Janes <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions