diff options
author | Vinson Lee <[email protected]> | 2013-06-27 22:40:20 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2013-07-01 10:16:16 -0700 |
commit | 7214fe3cc4cf5f08092e6eb8980eb1d56a84cdd3 (patch) | |
tree | 48d6539400e16967c51330957bcabb51a845597f | |
parent | 2c6186390c48e0d1f2b4d4136c11eb0bedfd1aec (diff) |
i965: Initialize brw_blorp_const_color_program member variables.
Fixes "Uninitialized scalar field" defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |