isl/tests: Fix build
authorChad Versace <chad.versace@intel.com>
Fri, 22 Jan 2016 15:17:06 +0000 (07:17 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 22 Jan 2016 15:17:57 +0000 (07:17 -0800)
isl_device_init() acquired a new param for bit6 swizzling.

src/isl/tests/isl_surf_get_image_offset_test.c

index 78362be4310a4b8542be6682a7acceed0632442b..63c12cb83cf662b98a740ac4116899348a73b92e 100644 (file)
@@ -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,