intel/compiler: fix uninit non-static variable. (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 11 Apr 2019 10:31:59 +0000 (20:31 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 24 Apr 2019 20:06:57 +0000 (06:06 +1000)
commit3323cf08f002e63f26d83268c12c635866aa102b
tree6b1bf35617ad683b6c8e9feb6563b42f7cc94564
parentce17e413de6cbb66a84d71caa445f44c3ddb1a2b
intel/compiler: fix uninit non-static variable. (v2)

Pointed out by coverity.

v2: init nir_locals also.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/compiler/brw_vec4_visitor.cpp