mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
i965: Initialize brw_blorp_const_color_program member variables.
Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
2c6186390c
commit
7214fe3cc4
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue