mesa/src/intel
Caio Marcelo de Oliveira Filho f7d90c67c7 intel/compiler: Silence maybe-uninitialized warning in GCC 9.1.1
Compiler can't see that d is initialized.

    ../src/intel/compiler/brw_vec4_nir.cpp: In function ‘int brw::try_immediate_source(const nir_alu_instr*, brw::src_reg*, bool, const gen_device_info*)’:
    ../src/intel/compiler/brw_vec4_nir.cpp:984:12: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      984 |          d = MAX2(-d, d);

Assert that we expect at least one component -- hence d going to be
set.  That by itself is not enough, so also zero initialize the
variable.

Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-08-23 13:25:27 -07:00
..
blorp intel/compiler: Fill a compiler statistics struct 2019-08-12 22:56:07 +00:00
common intel/gen_decoder: Decode SLICE_HASH_TABLE. 2019-08-12 16:19:08 -07:00
compiler intel/compiler: Silence maybe-uninitialized warning in GCC 9.1.1 2019-08-23 13:25:27 -07:00
dev intel: Get information about pixel pipes subslices. 2019-08-12 16:19:08 -07:00
genxml isl: Enable Unorm Path in Color Pipe 2019-08-15 10:39:09 -07:00
isl isl: Enable Unorm Path in Color Pipe 2019-08-15 10:39:09 -07:00
perf intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV 2019-08-08 21:44:33 +01:00
tools intel/tools: Fix aub_file initialization in intel_dump_gpu 2019-08-12 19:18:26 -07:00
vulkan nir: Add explicit signs to image min/max intrinsics 2019-08-21 17:19:55 +00:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02:00
Android.compiler.mk android: fix build issues with brw_nir_trig_workarounds.c 2017-10-04 07:39:05 +03:00
Android.dev.mk drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00
Android.genxml.mk intel/genxml/icl: Generate packing headers 2018-02-15 16:14:55 -08:00
Android.isl.mk android: intel/isl: remove redundant building rules 2019-02-22 07:56:11 +02:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk anv: support GetSwapchainGrallocUsage2ANDROID for Android 2019-08-08 05:08:01 +00:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources anv,nir: Move lower_input_attachments pass from ANV to NIR. 2019-07-08 14:02:50 +02:00
meson.build i965: extract performance query metrics 2019-04-17 14:10:42 +01:00