i965/fs: Only use nir for 8-wide non-fast-clear shaders.
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Oct 2014 23:40:04 +0000 (16:40 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:18:59 +0000 (07:18 -0800)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 9057a85e229f5d778f82a22288a03d0d8c2494ea..cb699d379fa29487dca7fef6d542f848f116c944 100644 (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) {