summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-07-27 00:04:41 -0700
committerVinson Lee <[email protected]>2013-10-08 22:10:46 -0700
commit1176a3aac65dfe935809182bfac883708def8046 (patch)
tree7d9ee209c44938ed0c5673fffab1547fe9eba183 /src
parent8c197d4aae59f157500b35cccd41cfc3d1b5cb59 (diff)
i965: Initialize brw_blorp_const_color_program::prog_data.
Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp_clear.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}