radeonsi: fix shader precompilation for shader-db
authorMarek Olšák <marek.olsak@amd.com>
Sat, 23 Jan 2016 16:00:00 +0000 (17:00 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 26 Jan 2016 17:49:50 +0000 (18:49 +0100)
commitaf57507e4f0d170e7c3cba58026a1c735262290e
tree8b78ec838107e013cd69b2db3f7bb05b1755d845
parent38c63abf09eaab9e2023d86b918784cd25cc0bc5
radeonsi: fix shader precompilation for shader-db

The addition of spi_shader_col_format killed all color outputs
in precompiled shaders.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (v1)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v1)
v2: also set the alpha func (trivial)
src/gallium/drivers/radeonsi/si_state_shaders.c