nir: Add nir_imm_vec4_16
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 3 Jul 2019 20:00:14 +0000 (13:00 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 9 Jul 2019 18:43:07 +0000 (18:43 +0000)
commit4a4b48fb057a4812fbc39cc054308818d2a19b32
tree8f7943c9ac2d6ca954e76c2d45fc4ee2faad0eb1
parenta110a8090d656152827a1828098624a17f6d7fb7
nir: Add nir_imm_vec4_16

We already have nir_imm_float16 and nir_imm_vec4; let's add the ability
to easily make immediate fp16 vectors as well, now that fp16 support is
maturing in NIR/GLSL.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir_builder.h