i965: Make URB code use prog_data for GS/tessellation enable checks.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Nov 2016 08:37:42 +0000 (00:37 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Nov 2016 19:39:58 +0000 (11:39 -0800)
commitc87b5dee119da9696d9c1897dc7c96144b9ced7a
tree484a52353c54cf786684bbeda78a6cafff38f179
parent639af2a7c637e39b2d30f9891f67da76af50cab7
i965: Make URB code use prog_data for GS/tessellation enable checks.

If geometry/tessellation shaders are disabled, prog_data will be NULL
(see brw_state_upload.c).  This consolidates dirty bits a little.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/gen7_urb.c