nir: prepare for bumping up max components to 16
authorKarol Herbst <kherbst@redhat.com>
Thu, 12 Jul 2018 01:40:23 +0000 (03:40 +0200)
committerKarol Herbst <kherbst@redhat.com>
Tue, 17 Jul 2018 11:24:09 +0000 (13:24 +0200)
commit1beef89ad85c47fb6dea565687682e14b8e21101
tree3fcf7893574b44d734e39b06264a72d825d93cd4
parentf65bee7e85221ebbfa26168ca081ae20dc13a13b
nir: prepare for bumping up max components to 16

OpenCL knows vector of size 8 and 16.

v2: rebased on master (nir_swizzle rework)
    rework more declarations with nir_component_mask_t
    adjust print_var_decl

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
13 files changed:
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_builder.h
src/compiler/nir/nir_lower_alu_to_scalar.c
src/compiler/nir/nir_lower_io_to_scalar.c
src/compiler/nir/nir_lower_load_const_to_scalar.c
src/compiler/nir/nir_opt_constant_folding.c
src/compiler/nir/nir_opt_copy_prop_vars.c
src/compiler/nir/nir_print.c
src/compiler/nir/nir_search.c
src/compiler/nir/nir_validate.c
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_alu.c