nir: Handle vec8/16 in gather_ssa_types
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 30 Mar 2020 17:06:38 +0000 (12:06 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 00:18:05 +0000 (00:18 +0000)
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4365>

src/compiler/nir/nir_gather_ssa_types.c

index a1a7df0ca45a9771b247839d800114bea41cadb8..93002d7bff62d28ebc076b4a3e68f8850f0b276d 100644 (file)
@@ -112,6 +112,8 @@ nir_gather_ssa_types(nir_function_impl *impl,
                case nir_op_vec2:
                case nir_op_vec3:
                case nir_op_vec4:
+               case nir_op_vec8:
+               case nir_op_vec16:
                   for (unsigned i = 0; i < info->num_inputs; i++) {
                      copy_types(alu->src[i].src, &alu->dest.dest,
                                 float_types, int_types, &progress);