From: Chad Versace Date: Fri, 22 Jan 2016 15:17:06 +0000 (-0800) Subject: isl/tests: Fix build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63d999b76206c58b6a8938ff0816535cf76fb925;p=mesa.git isl/tests: Fix build isl_device_init() acquired a new param for bit6 swizzling. --- diff --git a/src/isl/tests/isl_surf_get_image_offset_test.c b/src/isl/tests/isl_surf_get_image_offset_test.c index 78362be4310..63c12cb83cf 100644 --- a/src/isl/tests/isl_surf_get_image_offset_test.c +++ b/src/isl/tests/isl_surf_get_image_offset_test.c @@ -105,7 +105,8 @@ test_bdw_2d_r8g8b8a8_unorm_512x512_a1_s1_noaux_y0(void) bool ok; struct isl_device dev; - isl_device_init(&dev, brw_get_device_info(BDW_GT2_DEVID)); + isl_device_init(&dev, brw_get_device_info(BDW_GT2_DEVID), + /*bit6_swizzle*/ false); struct isl_surf surf; ok = isl_surf_init(&dev, &surf, @@ -146,7 +147,8 @@ test_bdw_2d_r8g8b8a8_unorm_1024x1024_a6_s1_noaux_y0(void) bool ok; struct isl_device dev; - isl_device_init(&dev, brw_get_device_info(BDW_GT2_DEVID)); + isl_device_init(&dev, brw_get_device_info(BDW_GT2_DEVID), + /*bit6_swizzle*/ false); struct isl_surf surf; ok = isl_surf_init(&dev, &surf,