gallivm: honor d3d10 floating point rules for shadow comparisons
authorRoland Scheidegger <sroland@vmware.com>
Wed, 7 Aug 2013 18:51:52 +0000 (20:51 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 8 Aug 2013 16:55:58 +0000 (18:55 +0200)
commit6ce54a81b2de723b71bd684b05b82989b94fb119
tree5ffbac4426e71bbfbd34978db9be264eeb948e0d
parentaa84f1ad5537f5b0232eb681147cb3a3882323b8
gallivm: honor d3d10 floating point rules for shadow comparisons

d3d10 specifies ordered comparisons for everything but not_equal which is
unordered (http://msdn.microsoft.com/en-us/library/windows/desktop/cc308050.aspx).
OpenGL probably doesn't care.

Reviewed-by: Zack Rusin <zackr@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c