radeonsi: enable BC_OPTIMIZE if centroid isn't used
authorMarek Olšák <marek.olsak@amd.com>
Sun, 18 Oct 2015 13:09:24 +0000 (15:09 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 20 Oct 2015 10:56:46 +0000 (12:56 +0200)
commit8339585b1206232c1df165108ef6adadb0829ab0
tree48a11070c714d69fb167785474b594d3249508a3
parent38391835b5cbdd52e7a3221ff98f402aefa1639b
radeonsi: enable BC_OPTIMIZE if centroid isn't used

This solution was recommended by a Catalyst developer.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c