[Mesa-dev] [PATCH 023/133] i965/fs: Only use nir for 8-wide non-fast-clear shaders.

Jason Ekstrand jason at jlekstrand.net
Mon Dec 15 22:04:33 PST 2014


---
 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 a059052..4c587f3 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3710,7 +3710,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) {
-- 
2.2.0



More information about the mesa-dev mailing list