add negative float conversions to test constantUnaryConversion.comp
authorMarius Hillenbrand <mhillen@linux.ibm.com>
Mon, 15 Nov 2021 15:30:15 +0000 (16:30 +0100)
committerGreg Fischer <greg@lunarg.com>
Mon, 15 Nov 2021 21:00:22 +0000 (14:00 -0700)
commit0d85595e3388237368bc312b64dd95b59d31c3d3
tree5068d90b04a869763d77fa7b8e9401f2aea6c8fb
parent7141f89a89d1e074cecec450a6a0495416a50068
add negative float conversions to test constantUnaryConversion.comp

Add conversions from negative float16_t and float32_t to bool, all
signed integer types (i.e., including those in
GL_EXT_shader_explicit_arithmetic_types), and all float types (from the
same extension) to extend coverage.

Note that converting negative float values to unsigned integers is
undefined behavior. Thus, we exclude them.
Test/baseResults/constantUnaryConversion.comp.out
Test/constantUnaryConversion.comp