aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3_lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/ir3/ir3_lexer.l')
-rw-r--r--src/freedreno/ir3/ir3_lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_lexer.l b/src/freedreno/ir3/ir3_lexer.l
index 823cb1587dc..f93d25b5328 100644
--- a/src/freedreno/ir3/ir3_lexer.l
+++ b/src/freedreno/ir3/ir3_lexer.l
@@ -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 '<';