radeonsi: force NaNs to 0
authorMarek Olšák <marek.olsak@amd.com>
Wed, 10 Dec 2014 20:08:50 +0000 (21:08 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 21 Dec 2014 19:34:38 +0000 (20:34 +0100)
commit2150db4d5daad3781876254d2b440367afd756cd
treed4b08eb65a2fa1f1770ece0e620bd483d88f5ca6
parent4fb1d00f4e4b2062b957b078931197b4316dcee8
radeonsi: force NaNs to 0

This fixes incorrect rendering in Unreal Engine demos.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83510

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