iris: Add and use iris_resource_configure_main
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 21 Jul 2020 16:01:46 +0000 (09:01 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 22:30:39 +0000 (22:30 +0000)
commitc54bb23967b3cbd0954adac9e6155d3a56812900
tree71914781a55aa201c9ada5da967cce947698f3ec
parent51e42e218398da818fc223e2f5da61017fb31f8a
iris: Add and use iris_resource_configure_main

Reduce duplication of ISL surface creation code for main surfaces. This
is similar to iris_resource_configure_aux.

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