intel/tools: Fix typos
authorMatt Turner <mattst88@gmail.com>
Wed, 8 Jul 2020 20:10:13 +0000 (13:10 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 31 Jul 2020 19:59:24 +0000 (12:59 -0700)
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5956>

src/intel/tools/i965_gram.y

index 2aaf1471c5f530f2b87ac0f16d0805e4ce18652c..15881d941233ada84cb7c5d7e5cc1d90fdce7f71 100644 (file)
@@ -1561,7 +1561,7 @@ immreg:
                        $$.d64 = $1;
                        break;
                default:
-                       error(&@2, "Unkown immdediate type %s\n",
+                       error(&@2, "Unknown immediate type %s\n",
                              brw_reg_type_to_letters($2.type));
                }
        }
@@ -1756,7 +1756,7 @@ addrreg:
                int subnr = (p->devinfo->gen >= 8) ? 16 : 8;
 
                if ($2 > subnr)
-                       error(&@2, "Address sub resgister number %d"
+                       error(&@2, "Address sub register number %d"
                                   "out of range\n", $2);
 
                $$.file = BRW_ARCHITECTURE_REGISTER_FILE;