From: Jason Ekstrand Date: Tue, 14 Oct 2014 23:40:04 +0000 (-0700) Subject: i965/fs: Only use nir for 8-wide non-fast-clear shaders. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae2880d131e3197114940fc7028397079840f97d;p=mesa.git i965/fs: Only use nir for 8-wide non-fast-clear shaders. Reviewed-by: Connor Abbott --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 9057a85e229..cb699d379fa 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3743,7 +3743,8 @@ fs_visitor::run_fs() * functions called "main"). */ if (shader) { - if (getenv("INTEL_USE_NIR") != NULL) { + if (getenv("INTEL_USE_NIR") != NULL && !brw->use_rep_send) { + no16("Cannot do 16-wide in NIR yet"); emit_nir_code(); } else { foreach_in_list(ir_instruction, ir, shader->base.ir) {