From fa3a692ae2d838b8abbb5e3347cfa8f725de1e38 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Sun, 17 Dec 2017 00:21:13 -0800 Subject: [PATCH] intel/fs: Initialize fs_visitor::grf_used on construction. --- src/intel/compiler/brw_fs_visitor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/compiler/brw_fs_visitor.cpp b/src/intel/compiler/brw_fs_visitor.cpp index 481d9c51e7a..7a5f6451f2b 100644 --- a/src/intel/compiler/brw_fs_visitor.cpp +++ b/src/intel/compiler/brw_fs_visitor.cpp @@ -898,6 +898,7 @@ fs_visitor::init() this->promoted_constants = 0, + this->grf_used = 0; this->spilled_any_registers = false; } -- 2.14.2