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:
parent
f7d0c1cbfe
commit
1c6ff0ec3b
|
@ -355,6 +355,7 @@ const char* kReservedKeywordsHLSL[] = {
|
|||
"isinf",
|
||||
"isnan",
|
||||
"lerp",
|
||||
"line",
|
||||
"lineadj",
|
||||
"linear",
|
||||
"lit",
|
||||
|
|
|
@ -587,6 +587,7 @@ INSTANTIATE_TEST_SUITE_P(RenamerTestHlsl,
|
|||
// "ldexp", // WGSL intrinsic
|
||||
// "length", // WGSL intrinsic
|
||||
"lerp",
|
||||
"line",
|
||||
"lineadj",
|
||||
"linear",
|
||||
"lit",
|
||||
|
|
Loading…
Reference in New Issue