nir: sge operation is defined for floating-point types
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 8 Jun 2017 10:06:48 +0000 (10:06 +0000)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 27 Jun 2017 10:01:11 +0000 (12:01 +0200)
commit4195a9450bde927256063da47488aafbd86bfffe
treeee8d97cf4ba8f5ea59585996a513c0f44c555134
parentb3bf453686236661522a59441f5fdff4753b3089
nir: sge operation is defined for floating-point types

According to GLSL.std.450 spec, the operand for step() function must be
a floating-point. It does not restrict the value to 32-bit floats.

Reviewed by: Elie Tournier <elie.tournier@collabora.com>
src/compiler/nir/nir_opcodes.py