intel/compiler/icl: Update the assert in brw_stage_has_packed_dispatch()
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 20 Jul 2017 23:20:33 +0000 (16:20 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 22 Mar 2018 16:56:09 +0000 (09:56 -0700)
Rafael ran piglit with the test code enabled and saw no additional GPU
hangs.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_compiler.h

index 0e27c898203f2db7466782030ed11b6b5a3ec070..d3ae6499b916f2db94f623ba09c00deaa6d6b61a 100644 (file)
@@ -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: {