ir3/parser: Fix parsing of "0.0" in @const line
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 8 Mar 2021 18:10:24 +0000 (19:10 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Mar 2021 16:23:04 +0000 (16:23 +0000)
commitcd772d5687584891c568446630ec175079f870ab
tree496334d103f9b40fb5498764cb6b911c0ea3066b
parentf7dc0520d9045b424748855be103ee5affc53235
ir3/parser: Fix parsing of "0.0" in @const line

Trying to specify a floating-point value in a @const line would result
in it getting interpreted as a FLUT value and failing parsing. Fix this
by making the various FLUT tokens include the surrounding parentheses.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9463>
src/freedreno/ir3/ir3_lexer.l
src/freedreno/ir3/ir3_parser.y