intel/vs: Grow the param array for clip planes
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 29 Sep 2017 17:50:07 +0000 (10:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 05:39:30 +0000 (22:39 -0700)
commit4dfb8b3416e2c7c069ac11736362e9dc3860f72c
tree3925c5de5807606ad1bf07512a18166e3d6142d8
parent6bcc5c0c75226bb89f35d7529de11182051c729e
intel/vs: Grow the param array for clip planes

Instead of requiring the caller of brw_compile_vs to figure it out, just
grow the param array on-demand.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs_visitor.cpp
src/intel/compiler/brw_vec4_vs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c