intel/compiler: initialize remaining fields of various classes
These variables seem to be initialized before being used, so this patch is not fixing any bug, but leaving them unitialized may become a bug after some refactoring. These classes were affected: fs_reg_alloc, fs_visitor, fs_generator, instruction_scheduler. Found by Coverity. Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6667>
This commit is contained in:

committed by
Marge Bot

parent
40b964dc8f
commit
5ea0b6a9c6
@@ -429,6 +429,13 @@ public:
|
||||
/* Get payload IP information */
|
||||
payload_last_use_ip = ralloc_array(mem_ctx, int, payload_node_count);
|
||||
|
||||
node_count = 0;
|
||||
first_payload_node = 0;
|
||||
first_mrf_hack_node = 0;
|
||||
grf127_send_hack_node = 0;
|
||||
first_vgrf_node = 0;
|
||||
first_spill_node = 0;
|
||||
|
||||
spill_vgrf_ip = NULL;
|
||||
spill_vgrf_ip_alloc = 0;
|
||||
spill_node_count = 0;
|
||||
|
Reference in New Issue
Block a user