diff options
author | Roland Scheidegger <[email protected]> | 2015-07-17 18:01:01 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2015-07-18 02:35:24 +0200 |
commit | e42cfe5d032e97e0444df39421a9f93f84452d68 (patch) | |
tree | a5e47d3fc53d4e4365898716eb49268b0a2e819c /src/gallium/drivers/vc4/vc4_bufmgr.h | |
parent | 27aa31fab40783356207ba5dabd839b430496e7b (diff) |
mesa: fix up some texture error checks
In particular, we were incorrectly accepting s3tc (and lots of others)
for CompressedTexSubImage3D (but not CompressedTexImage3D) calls with 3d
targets. At this time, the only allowed formats for these calls are the
bptc ones, since none of the specific extensions allow it (astc hdr would).
Also, fix up a bug in _mesa_target_can_be_compressed - 3d target needs to
be allowed for bptc formats.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_bufmgr.h')
0 files changed, 0 insertions, 0 deletions