From 1176a3aac65dfe935809182bfac883708def8046 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 27 Jul 2013 00:04:41 -0700 Subject: i965: Initialize brw_blorp_const_color_program::prog_data. Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp index 4ff776fff70..18a29fbc07c 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp @@ -127,6 +127,8 @@ brw_blorp_const_color_program::brw_blorp_const_color_program( clear_rgba(), base_mrf(0) { + prog_data.first_curbe_grf = 0; + prog_data.persample_msaa_dispatch = false; brw_init_compile(brw, &func, mem_ctx); } -- cgit v1.2.3