iris: z_res -> s_res
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Aug 2018 04:23:25 +0000 (21:23 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
fixes crashes introduced a few commits ago

src/gallium/drivers/iris/iris_resolve.c

index 7b68876643b9b284c23f46b3e8832194f38210db..15e89fac0d9dc461a2a5be3b759330d330f33529 100644 (file)
@@ -130,7 +130,7 @@ iris_postdraw_update_resolve_tracking(struct iris_context *ice,
          // XXX: aux tracking
 
          if (ice->state.stencil_writes_enabled)
-            iris_depth_cache_add_bo(batch, z_res->bo);
+            iris_depth_cache_add_bo(batch, s_res->bo);
       }
    }