From: Jason Ekstrand Date: Sat, 3 Jun 2017 22:20:32 +0000 (-0700) Subject: i965: Remove some of the remnants of meta X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea225d4da492ce97aea703676a27d76af351ba74;p=mesa.git i965: Remove some of the remnants of meta Reviewed-by: Samuel Iglesias Gonsálvez --- diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index c15c0193584..edcd6fa05da 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -749,7 +749,6 @@ struct brw_context bool has_negative_rhw_bug; bool has_pln; bool no_simd8; - bool use_rep_send; /** * Some versions of Gen hardware don't do centroid interpolation correctly diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index e09def9d92c..0f075a11f75 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -191,7 +191,7 @@ brw_codegen_wm_prog(struct brw_context *brw, program = brw_compile_fs(brw->screen->compiler, brw, mem_ctx, key, &prog_data, fp->program.nir, &fp->program, st_index8, st_index16, - true, brw->use_rep_send, vue_map, + true, false, vue_map, &program_size, &error_str); if (program == NULL) { diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c index 0a32e460117..a5ad2ca4739 100644 --- a/src/mesa/drivers/dri/i965/genX_state_upload.c +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c @@ -1318,7 +1318,7 @@ genX(upload_clip_state)(struct brw_context *brw) clip.ClipMode = CLIPMODE_NORMAL; } - clip.ClipEnable = brw->primitive != _3DPRIM_RECTLIST; + clip.ClipEnable = true; /* _NEW_POLYGON, * BRW_NEW_GEOMETRY_PROGRAM | BRW_NEW_TES_PROG_DATA | BRW_NEW_PRIMITIVE