Normalize all line endings to LF

And force shader code to always use LF endings.

Post merge, there were a number of files that crept in with CRLF endings.

Some Tint end-to-end tests take objection to CRLF endings.

CRLF endings can be detected with:

```
git grep -I --files-with-matches --perl-regexp '\r' HEAD
```

And fixed with:

```
find . -type f -exec dos2unix {} \;
```

Bug: dawn:1339
Change-Id: Iee054bafd15875de744b86e28393cd8229bd3cfa
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86140
Kokoro-Run: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton 2022-04-08 14:18:28 +00:00 committed by Dawn LUCI CQ
parent 6249b24581
commit 4d36557bce
54 changed files with 1248 additions and 1243 deletions

7
.gitattributes vendored
View File

@ -1,4 +1,9 @@
* text=auto
*.sh eol=lf
*.glsl eol=lf
*.gn eol=lf
*.gni eol=lf
*.hlsl eol=lf
*.msl eol=lf
*.sh eol=lf
*.spvasm eol=lf
*.wgsl eol=lf

View File

@ -4,7 +4,7 @@
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"inheritEnvironments": ["msvc_x64_x64"],
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
@ -21,7 +21,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ],
"inheritEnvironments": ["msvc_x64_x64"],
"variables": []
},
{
@ -33,7 +33,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x86" ],
"inheritEnvironments": ["msvc_x86"],
"variables": []
},
{
@ -45,7 +45,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x86" ],
"inheritEnvironments": ["msvc_x86"],
"variables": []
},
{
@ -57,7 +57,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "clang_cl_x64_x64" ],
"inheritEnvironments": ["clang_cl_x64_x64"],
"variables": []
},
{
@ -69,7 +69,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "clang_cl_x64_x64" ],
"inheritEnvironments": ["clang_cl_x64_x64"],
"variables": []
},
{
@ -81,7 +81,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "clang_cl_x86" ],
"inheritEnvironments": ["clang_cl_x86"],
"variables": []
},
{
@ -93,7 +93,7 @@
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "clang_cl_x86" ],
"inheritEnvironments": ["clang_cl_x86"],
"variables": []
}
]