diff options
author | Kenneth Graunke <[email protected]> | 2015-12-15 03:04:50 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-12-22 17:21:59 -0800 |
commit | 8498cb4a45e8ed53a2ee2b35d3c2cbb9963e1756 (patch) | |
tree | bfbac178730c3fa332f288ce708df1f1e972bf1c /src/mesa/drivers/dri/i965/gen7_ds_state.c | |
parent | 2bcf98940703bee4485e323f4a9e28e2c6fe41fd (diff) |
i965: Only call brw_upload_tcs/tes_prog when using tessellation.
If there's no evaluation shader, tessellation is disabled. The upload
functions would just bail. Instead, don't bother calling them.
This will simplify the optional-TCS case a bit, as brw_upload_tcs can
assume that we're doing tessellation.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_ds_state.c')
0 files changed, 0 insertions, 0 deletions