summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2016-01-13 19:28:45 +0000
committerNeil Roberts <[email protected]>2016-01-14 12:18:24 +0000
commit06b526de0565d5485a2111e3901bd5824ead4314 (patch)
treee9ffb4b85a093d5a3679665126a618e628a5ffbb /src/gallium/winsys/radeon/drm
parentf4ab7340ca72f6b61fe6e3e0995360546d2d6287 (diff)
texobj: Check completeness with InternalFormat rather than Mesa format
The internal Mesa format used for a texture might not match the one requested in the internalFormat when the texture was created, for example if the driver is internally remapping RGB textures to RGBA. Otherwise it can cause false positives for completeness if one mipmap image is created as RGBA and the other as RGB because they would both have an RGBA Mesa format. If we check the InternalFormat instead then we are directly checking the API usage which I think better matches the intention of the check. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93700 Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
0 files changed, 0 insertions, 0 deletions