i965/fs: Only use nir for 8-wide non-fast-clear shaders.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
Jason Ekstrand 2014-10-14 16:40:04 -07:00
parent 2faf7f87d6
commit ae2880d131
1 changed files with 2 additions and 1 deletions

View File

@ -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) {