swr: Removed unnecessary PIPE_BIND flags from swr_is_format_supported
authorBruce Cherniak <bruce.cherniak@intel.com>
Wed, 12 Apr 2017 23:53:01 +0000 (18:53 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 14 Apr 2017 20:22:44 +0000 (15:22 -0500)
commit91a7f0b3afaa88e787d7b80df491928e037967a4
tree6fc1f8db47bfd03ea413bdd7ddc5b9c1d4a6fc7f
parent97bbb7b6a3afadc22ef956f507f70998629fe99a
swr: Removed unnecessary PIPE_BIND flags from swr_is_format_supported

Removed unnecessary and probably wrong PIPE_BIND_SCANOUT and PIPE_BIND_SHARED
flags in favor of check on single PIPE_BIND_DISPLAY_TARGET flag.

Reference llvmpipe change <bee4c7718a3bd57e3d99f0913d9081cd13fe5fd>

Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/swr_screen.cpp