i965: Remove unnecessary brw->tess_ctrl_program assertions.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Dec 2015 05:17:07 +0000 (21:17 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Dec 2015 01:22:02 +0000 (17:22 -0800)
commit9d35fecfb94e26a5fe6b361ebe83044fae9131bf
tree7aee874f811e38abd7ca8daa84111910afa51ce7
parentf46dbfaed914e0e3463f3a28fc877695cd7e7834
i965: Remove unnecessary brw->tess_ctrl_program assertions.

This is trying to enforce the fact that the hardware requires HS, TE,
and DS to be enabled or disabled together.  But it's kind of an ad-hoc
attempt, and not too useful.

More importantly, we aren't going to have a gl_shader_program for the
TCS which is automatically generated when none is present.  (We'll just
handle it in the driver backend.)  So, these will trip for no reason.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_tcs.c
src/mesa/drivers/dri/i965/gen7_te_state.c
src/mesa/drivers/dri/i965/gen7_urb.c
src/mesa/drivers/dri/i965/gen8_ds_state.c
src/mesa/drivers/dri/i965/gen8_hs_state.c