Mesa (master): i965/nir: Enable SIMD16 support in the NIR FS backend.

Kenneth Graunke kwg at kemper.freedesktop.org
Mon Jan 19 21:23:18 UTC 2015


Module: Mesa
Branch: master
Commit: a5ca86a9833d6fd57ee609d8d1e630dc66ebd371
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5ca86a9833d6fd57ee609d8d1e630dc66ebd371

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Jan 16 01:40:33 2015 -0800

i965/nir: Enable SIMD16 support in the NIR FS backend.

With the previous commits in place, it just works.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 6490788..786e4e0 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3753,8 +3753,7 @@ fs_visitor::run_fs()
        * functions called "main").
        */
       if (shader) {
-         if (getenv("INTEL_USE_NIR") != NULL && !brw->use_rep_send) {
-            no16("Cannot do 16-wide in NIR yet");
+         if (getenv("INTEL_USE_NIR") != NULL) {
             emit_nir_code();
          } else {
             foreach_in_list(ir_instruction, ir, shader->base.ir) {




More information about the mesa-commit mailing list