iris: Drop buffer support in resource_from_handle
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 27 Jul 2020 17:05:07 +0000 (10:05 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 22:30:39 +0000 (22:30 +0000)
commit9d503b36ca24e1747e99a034e05700ad80c0682c
tree5d70c2e38fb282fea13433d22fd7cd031ba9c398
parentc54bb23967b3cbd0954adac9e6155d3a56812900
iris: Drop buffer support in resource_from_handle

The callers don't seem to pass targets of PIPE_BUFFER. Stop nesting an
if-else block by dropping support for this target.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6311>
src/gallium/drivers/iris/iris_resource.c