radeonsi: enable denorms for 64-bit and 16-bit floats
authorMarek Olšák <marek.olsak@amd.com>
Fri, 5 Feb 2016 21:49:12 +0000 (22:49 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 9 Feb 2016 20:19:51 +0000 (21:19 +0100)
commit329181ae3329dc7d6f0aac62a86c4209444d5725
treeac05a9a8ef756cb92e0f90407912b33bda5a2d83
parent17fe3fa312d26db58b1c441519a92cd029e03727
radeonsi: enable denorms for 64-bit and 16-bit floats

This fixes FP16 conversion instructions for VI, which has 16-bit floats,
but not SI & CI, which can't disable denorms for those instructions.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_state_shaders.c
src/gallium/drivers/radeonsi/sid.h