From 846316b2589c3c5aa21cf4bf1a328b0b174cade1 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 7 Nov 2018 21:06:49 -0800 Subject: [PATCH] iris: Enable msaa_map transfer helpers This does the downsampling for us. It'll use BLORP anyway because it uses blit(), and that uses BLORP. --- src/gallium/drivers/iris/iris_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index d35b1820453..e4850dd86ae 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -913,7 +913,7 @@ iris_init_screen_resource_functions(struct pipe_screen *pscreen) pscreen->resource_get_handle = iris_resource_get_handle; pscreen->resource_destroy = u_transfer_helper_resource_destroy; pscreen->transfer_helper = - u_transfer_helper_create(&transfer_vtbl, true, true, false, false); + u_transfer_helper_create(&transfer_vtbl, true, true, false, true); } void -- 2.30.2