freedreno/ir3/parser: half-precision relative regs
[mesa.git] / src / freedreno / ir3 / ir3_lexer.l
index 823cb1587dcb21120901a50f8471f5cfb70e006f..f93d25b5328fb5f2250eda09b83f90e1242747a6 100644 (file)
@@ -308,6 +308,8 @@ static int parse_reg(const char *str)
 "|"                               return '|';
 "c"                               return 'c';
 "r"                               return 'r';
+"hc"                              return TOKEN(T_HC);
+"hr"                              return TOKEN(T_HR);
 "g"                               return 'g';
 "l"                               return 'l';
 "<"                               return '<';