Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> On Wed, 2015-08-05 at 20:31 +1000, Timothy Arceri wrote: > Cc: Iago Toral Quiroga <ito...@igalia.com> > Cc: Jason Ekstrand <jason.ekstr...@intel.com> > --- > src/glsl/nir/nir_lower_io.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/glsl/nir/nir_lower_io.c b/src/glsl/nir/nir_lower_io.c > index 3c17929..71bfd34 100644 > --- a/src/glsl/nir/nir_lower_io.c > +++ b/src/glsl/nir/nir_lower_io.c > @@ -62,6 +62,8 @@ type_size_vec4(const struct glsl_type *type) > size += type_size_vec4(glsl_get_struct_field(type, i)); > } > return size; > + case GLSL_TYPE_SUBROUTINE: > + return 1; > case GLSL_TYPE_SAMPLER: > return 0; > case GLSL_TYPE_ATOMIC_UINT:
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev