intel/tools: Don't allow empty type specifier
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>
This commit is contained in:
parent
6809b93411
commit
2851c218e2
|
@ -2013,8 +2013,7 @@ region_wh:
|
|||
;
|
||||
|
||||
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); }
|
||||
|
|
Loading…
Reference in New Issue