iris: Initialize pointer with NULL, not false

Reported by clang's `-Wbool-conversion`.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34014>
This commit is contained in:
Matt Turner 2025-03-11 15:38:19 -04:00 committed by Marge Bot
parent 7534559f2f
commit b05c26f54b

View file

@ -649,7 +649,7 @@ clear_depth_stencil(struct iris_context *ice,
fast_clear_depth(ice, z_res, level, box, depth);
iris_dirty_for_history(ice, res);
clear_depth = false;
z_res = false;
z_res = NULL;
}
/* At this point, we might have fast cleared the depth buffer. So if there's