nir: fix missing increments of num_inputs/num_outputs
authorRob Clark <robclark@freedesktop.org>
Wed, 4 Nov 2015 21:10:52 +0000 (16:10 -0500)
committerRob Clark <robclark@freedesktop.org>
Fri, 20 Nov 2015 01:03:32 +0000 (20:03 -0500)
commitc73f40c4731235153e29222eee8e12241166094a
tree321a290c6c2d82214df988b7fe6c7b079331b7f9
parentfec9367deb51003ccb74aca796e759502cfedfeb
nir: fix missing increments of num_inputs/num_outputs

Note: not quite perfect, we should use type_size vfunc (in
compiler_options or nir_shader?) to determine how much we
increment num_inputs/outputs/uniforms.  But we don't have
that yet, so let's at least fix things for the existing
users of these passes.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/nir_lower_clip.c
src/glsl/nir/nir_lower_two_sided_color.c