From: Vinson Lee Date: Fri, 28 Jun 2013 05:40:20 +0000 (-0700) Subject: i965: Initialize brw_blorp_const_color_program member variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7214fe3cc4cf5f08092e6eb8980eb1d56a84cdd3;p=mesa.git i965: Initialize brw_blorp_const_color_program member variables. Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Chad Versace --- diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp index f925ab32d1e..bf11135189d 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp @@ -121,7 +121,11 @@ brw_blorp_const_color_program::brw_blorp_const_color_program( const brw_blorp_const_color_prog_key *key) : mem_ctx(ralloc_context(NULL)), brw(brw), - key(key) + key(key), + R0(), + R1(), + clear_rgba(), + base_mrf(0) { brw_init_compile(brw, &func, mem_ctx); }