Commit 9813b7e1 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Clearer check

parent a000776c
......@@ -135,7 +135,7 @@ static void panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
panwrap_prop("clear_color_4 = 0x%" PRIx32, s->clear_color_4);
}
if (s->clear_depth_1 || s->clear_depth_2 || s->clear_depth_3 || s->clear_depth_4) {
if (s->clear_depth_1 != 0 || s->clear_depth_2 != 0 || s->clear_depth_3 != 0 || s->clear_depth_4 != 0) {
panwrap_prop("clear_depth_1 = %f", s->clear_depth_1);
panwrap_prop("clear_depth_2 = %f", s->clear_depth_2);
panwrap_prop("clear_depth_3 = %f", s->clear_depth_3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment