anv: initialize clear_color_is_zero_one
authorTapani Pälli <tapani.palli@intel.com>
Tue, 21 Jan 2020 14:48:11 +0000 (16:48 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 21 Jan 2020 15:47:30 +0000 (17:47 +0200)
commit5fede43fe0c7b9c5f8f79cba81637a2a7473abb4
treebbd530f19a97c1810f0bbb1ae612cb2458baf474
parent9134f22df2b216f587ef9fe85e6dd86ff226e0b7
anv: initialize clear_color_is_zero_one

Fixes following valgrind warning:

   ==12508== Conditional jump or move depends on uninitialised value(s)
   ==12508==    at 0x2CCD8B79: cmd_buffer_begin_subpass (genX_cmd_buffer.c:4599)
   ==12508==    by 0x2CCDA72B: gen9_CmdBeginRenderPass (genX_cmd_buffer.c:5275)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3487>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3487>
src/intel/vulkan/genX_cmd_buffer.c