diff options
author | Alejandro Piñeiro <[email protected]> | 2017-10-25 14:35:36 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2017-10-27 15:04:03 +0200 |
commit | fd011376cb3d7713297e057eafbd1d0ef1df3667 (patch) | |
tree | dbd3c2559f9d70c020237569167ca0ca57333ebb /src/gallium/auxiliary | |
parent | 05a94a4dfc79f95d597dd6fc08eea4a947eb300c (diff) |
formatquery: use correct target check for IMAGE_FORMAT_COMPATIBILITY_TYPE
From the spec:
"IMAGE_FORMAT_COMPATIBILITY_TYPE: The matching criteria use for the
resource when used as an image textures is returned in
<params>. This is equivalent to calling GetTexParameter"
So we would need to return None for any target not supported by
GetTexParameter. By mistake, we were using the target check for
GetTexLevelParameter.
v2: fix typo (GetTextParameter vs GetTexParemeter) on comment (Illia Mirkin)
Reviewed-by: Antia Puentes <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions