Mesa (master): intel/compiler/icl: Update the assert in brw_stage_has_packed_dispatch()

Matt Turner mattst88 at kemper.freedesktop.org
Thu Mar 22 16:57:28 UTC 2018


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

Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Thu Jul 20 16:20:33 2017 -0700

intel/compiler/icl: Update the assert in brw_stage_has_packed_dispatch()

Rafael ran piglit with the test code enabled and saw no additional GPU
hangs.

Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/intel/compiler/brw_compiler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index 0e27c89820..d3ae6499b9 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -1294,7 +1294,7 @@ brw_stage_has_packed_dispatch(MAYBE_UNUSED const struct gen_device_info *devinfo
     * to do a full test run with brw_fs_test_dispatch_packing() hooked up to
     * the NIR front-end before changing this assertion.
     */
-   assert(devinfo->gen <= 10);
+   assert(devinfo->gen <= 11);
 
    switch (stage) {
    case MESA_SHADER_FRAGMENT: {




More information about the mesa-commit mailing list