summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2018-05-04 16:44:44 +0200
committerAlejandro Piñeiro <[email protected]>2018-05-08 08:19:38 +0200
commitb6648798cf3c4b0f970c468aed7ac1ee7eb82109 (patch)
tree06486266a237dfd179ec87351b29b166e62c2114 /src/gallium/drivers/r600
parente6fb8196cea78f56dc554eb226b97570ef90355d (diff)
mesa/formatquery: remove online compression check on is_resource_supported
is_resource_supported returns if the combination of target/internalformat is supported in at least one operation. Online compression is only mandatory for glTexImage2D. Some formats doesn't support online compression, but can be used in any case, with glCompressed*D methods. Without this commit, ETC2 internalformats were returning FALSE, even for the drivers supporting it. So any other query (like TEXTURE_COMPRESSED) was returning FALSE/NONE instead of the proper value. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
0 files changed, 0 insertions, 0 deletions