radeonsi: silence a coverity warning
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Mar 2016 16:58:28 +0000 (11:58 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 24 Mar 2016 17:23:14 +0000 (12:23 -0500)
commit7880b81d39e56f1d4b062519f087a053c01ee0e4
treeccf4ceecfae879407fb0da9e97c60d7acf01f5e6
parentf96309753b7f5f4ea5e1942778087b3ace8eda9b
radeonsi: silence a coverity warning

The following Coverity warning

5378      tmpl.fetch_args = atomic_fetch_args;
5379      tmpl.emit = atomic_emit;
>>>     CID 1357115:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "tmpl". Field "tmpl.intr_name" is uninitialized.
5380      bld_base->op_actions[TGSI_OPCODE_ATOMUADD] = tmpl;
5381      bld_base->op_actions[TGSI_OPCODE_ATOMUADD].intr_name = "add";

... is a false positive, but what the hell. This change should "fix" it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c