wined3d: Use uintBitsToFloat() for float immediate shader constants.
commita44cdbfdd256dcdb0e87d51b723dbd566d91b1f9
authorJózef Kucia <jkucia@codeweavers.com>
Wed, 13 Jul 2016 08:52:02 +0000 (13 10:52 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 14 Jul 2016 08:40:12 +0000 (14 17:40 +0900)
treeebe8f2a6d32d407daaf7b46706bc06b9bc2f987b
parentb7b58e85bcaa43895a8bc2c66d735f27c7ad1d38
wined3d: Use uintBitsToFloat() for float immediate shader constants.

This fixes issues with special floating-point values in immediate
constants. Inspired by a patch by Guillaume Charifi.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/glsl_shader.c