diff options
author | Marek Olšák <[email protected]> | 2016-09-07 21:24:08 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-09-08 22:51:33 +0200 |
commit | 5981ab544562c667c882526c31a6f8c2ce6eba12 (patch) | |
tree | c2d7c4a1c60ee533ee5cde6aa41aab080ad939e4 /src/gallium/drivers/freedreno/a2xx | |
parent | 0fbaf749779b5ac6d242c2b6745c20be98567499 (diff) |
gallium: remove PIPE_BIND_TRANSFER_READ/WRITE
not used in any useful way
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_screen.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_screen.c b/src/gallium/drivers/freedreno/a2xx/fd2_screen.c index 007b9e66870..12ab5b41089 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_screen.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_screen.c @@ -87,11 +87,6 @@ fd2_screen_is_format_supported(struct pipe_screen *pscreen, retval |= PIPE_BIND_INDEX_BUFFER; } - if (usage & PIPE_BIND_TRANSFER_READ) - retval |= PIPE_BIND_TRANSFER_READ; - if (usage & PIPE_BIND_TRANSFER_WRITE) - retval |= PIPE_BIND_TRANSFER_WRITE; - if (retval != usage) { DBG("not supported: format=%s, target=%d, sample_count=%d, " "usage=%x, retval=%x", util_format_name(format), |