hlsl: Add 'line' to reserved keywords

Fixed: tint:1037
Change-Id: I46163ac6ec3e8ba7ba1fd31826d04c011fe04973
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59481
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
James Price 2021-07-25 06:44:03 +00:00 committed by Tint LUCI CQ
parent f7d0c1cbfe
commit 1c6ff0ec3b
2 changed files with 2 additions and 0 deletions

View File

@ -355,6 +355,7 @@ const char* kReservedKeywordsHLSL[] = {
"isinf",
"isnan",
"lerp",
"line",
"lineadj",
"linear",
"lit",

View File

@ -587,6 +587,7 @@ INSTANTIATE_TEST_SUITE_P(RenamerTestHlsl,
// "ldexp", // WGSL intrinsic
// "length", // WGSL intrinsic
"lerp",
"line",
"lineadj",
"linear",
"lit",