diff options
author | Eric Anholt <[email protected]> | 2018-02-23 09:10:36 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-02-23 15:07:18 -0800 |
commit | 97dc0773032d6284ea5c63758abf704d877f65dc (patch) | |
tree | f50c97dc67630e3bbf7ecefd6baf4efddb497923 /src/gallium/drivers/vc5/vc5_resource.h | |
parent | 880573e7370b866c94513f59ad0bb0b10660643f (diff) |
broadcom/vc5: Ignore unused usage flags in is_format_supported.
Like for vc4, the new DISPLAY_TARGET flag ended up causing no formats to
match. Just drop the whole retval == usage thing and return early when we
hit a known unsupported case.
Fixes: f7604d8af521 ("st/dri: only expose config formats that are display targets")
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_resource.h')
0 files changed, 0 insertions, 0 deletions