iris: Enable msaa_map transfer helpers
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 8 Nov 2018 05:06:49 +0000 (21:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
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

index d35b182045302887259d0354d52124873ea2d0e2..e4850dd86ae8adaa9253362820d50a1d3989fa3e 100644 (file)
@@ -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