iris: Drop buffer support in resource_from_handle

Graphics / Mesa 3D Graphics Library / Mesa - Nanley Chery [intel.com] - 19 August 2020 22:30 UTC

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

9d503b36ca2 iris: Drop buffer support in resource_from_handle
src/gallium/drivers/iris/iris_resource.c | 64 +++++++++++++++-----------------
1 file changed, 30 insertions(+), 34 deletions(-)

Upstream: cgit.freedesktop.org


  • Share