Mesa (master): i965/fs: Fix the build

Jason Ekstrand jekstrand at kemper.freedesktop.org
Wed Oct 1 00:27:43 UTC 2014


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

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Tue Sep 30 17:27:33 2014 -0700

i965/fs: Fix the build

---

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

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index fd59ef8..709c5b0 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2975,7 +2975,7 @@ fs_visitor::lower_load_payload()
 
    foreach_block_and_inst_safe (block, fs_inst, inst, cfg) {
       int dst_reg;
-      } if (inst->dst.file == GRF) {
+      if (inst->dst.file == GRF) {
          dst_reg = vgrf_to_reg[inst->dst.reg];
       } else {
          /* MRF */




More information about the mesa-commit mailing list