glsl: Add ir_constant constructor for fp16
authorKristian H. Kristensen <hoegsberg@google.com>
Thu, 16 Jan 2020 22:56:53 +0000 (14:56 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 16:31:08 +0000 (16:31 +0000)
commit4068d6baff78b203477abbd3c3453a0058ecee56
treedaed64b52d35c24211cef344f97604d409c02ccc
parentb75a166e6866c4ab3f2c525763a25c9b7ab9fb56
glsl: Add ir_constant constructor for fp16

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3929>
src/compiler/glsl/ir.cpp
src/compiler/glsl/ir.h
src/util/half_float.h