commit | 2ccdd639c2459cb3738d5ffa0ebcca8cfa0e1532 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Thu Jun 03 17:49:02 2021 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Wed Jun 09 23:26:04 2021 +0000 |
tree | f340ae596f99d8fbb98d79e433ebaf999aa44ccd | |
parent | 5066839ffdbeac5b8d24f83e7c55cb20545cd48b [diff] |
iris: Use isl_surf_get_image_surf instead of hand-rolling it For the 3D RT read case on BDW, we can use the ISL helper. For the 1D array case, we don't actually need to flatten; we can just smash it to a 2D array surface because the layout for 1D and 2D is the same on BDW. Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11235>