radeonsi: don't emit unnecessary NULL exports for unbound targets (v3)
authorMarek Olšák <marek.olsak@amd.com>
Sun, 24 Jan 2016 00:06:07 +0000 (01:06 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 10 Feb 2016 22:53:17 +0000 (23:53 +0100)
commit6ee1c386fe8c9b45746e5bbb8a6f9b56da45fd50
tree82732ff176812659fa956d17940df31f65e9151c
parent088280e022bca10c3712dfa6f8e0ff343a37ce77
radeonsi: don't emit unnecessary NULL exports for unbound targets (v3)

v2: remove semantic index == 0 checks
    add the else statement to remove shadowing of args
v3: fix fbo-alphatest-nocolor regression

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v2)
src/gallium/drivers/radeonsi/si_shader.c