mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
i965: Initialize vec4_visitor member variables.
Fixes "Uninitialized pointer field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
fa8b1514d3
commit
14ddc83346
1 changed files with 6 additions and 1 deletions
|
|
@ -3151,7 +3151,12 @@ vec4_visitor::vec4_visitor(struct brw_context *brw,
|
|||
void *mem_ctx,
|
||||
bool debug_flag,
|
||||
bool no_spills)
|
||||
: debug_flag(debug_flag), no_spills(no_spills)
|
||||
: sanity_param_count(0),
|
||||
fail_msg(NULL),
|
||||
first_non_payload_grf(0),
|
||||
need_all_constants_in_pull_buffer(false),
|
||||
debug_flag(debug_flag),
|
||||
no_spills(no_spills)
|
||||
{
|
||||
this->brw = brw;
|
||||
this->ctx = &brw->ctx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue