diff options
author | Ilia Mirkin <[email protected]> | 2016-07-07 23:46:28 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-07-11 21:17:30 -0400 |
commit | 00d4315d37ec736fccfee50a402fa2a929054bde (patch) | |
tree | 9f0d1d2abdc9a0842e07073e9f24f484da111c0f /src/mesa/main/teximage.c | |
parent | 8ee3cdde049d30095451f44080a9cd2d6e949459 (diff) |
st/mesa: return appropriate mesa format for ETC texture formats
Even when the backend driver does not support ETC formats, we handle the
decoding into an uncompressed backing texture. However as far as core
mesa is concerned, it's an ETC texture and we should return the relevant
ETC mesa format. This condition can get hit when using glTexStorage to
create the texture object.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Cc: "11.2 12.0" <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
0 files changed, 0 insertions, 0 deletions