It's preferable to require an explicit type.
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5956>
;
srctype:
- %empty { $$ = retype($$, BRW_REGISTER_TYPE_F); }
- | TYPE_F { $$ = retype($$, BRW_REGISTER_TYPE_F); }
+ TYPE_F { $$ = retype($$, BRW_REGISTER_TYPE_F); }
| TYPE_UD { $$ = retype($$, BRW_REGISTER_TYPE_UD); }
| TYPE_D { $$ = retype($$, BRW_REGISTER_TYPE_D); }
| TYPE_UW { $$ = retype($$, BRW_REGISTER_TYPE_UW); }