iris: disable aux on first get_param if not created with aux
authorTapani Pälli <tapani.palli@intel.com>
Mon, 2 Sep 2019 10:02:33 +0000 (13:02 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 25 Sep 2019 05:28:45 +0000 (08:28 +0300)
commitf4d9169204e1b83f87779a350dd23501a085b36c
tree09a179e7dad5b8c87ac9f4d34ca30d1cb6c57a66
parent88f909eb37dc3867f9d2fcd44ccee6dceaac071c
iris: disable aux on first get_param if not created with aux

This moves the fix from commit 361f3d19f1f to happen in get_param
(used now instead of get_handle by st/dri). This fixes artifacts
seen with Xorg and CCS_E.

Fixes: fc12fd05f56 "iris: Implement pipe_screen::resource_get_param"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_resource.c