ac: Silence a compiler warning about results[0].
authorEric Anholt <eric@anholt.net>
Tue, 17 Oct 2017 20:46:50 +0000 (13:46 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 23 Oct 2017 17:14:40 +0000 (10:14 -0700)
commitba85525fcec65e021304a7ecd21e8fd20ce39f2d
tree918f4e89311d228bcd56419c448889a95ed401df
parent34c04c734f6e6b59f11e6cde9cc9038f3335cc29
ac: Silence a compiler warning about results[0].

We know that num_components will be > 0, but it doesn't.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_nir_to_llvm.c