From ae2880d131e3197114940fc7028397079840f97d Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 14 Oct 2014 16:40:04 -0700 Subject: [PATCH] i965/fs: Only use nir for 8-wide non-fast-clear shaders. Reviewed-by: Connor Abbott --- src/mesa/drivers/dri/i965/brw_fs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {