Support files with UTF8BOM character
This commit is contained in:
parent
ee2f5d09ea
commit
9f37ad360e
4 changed files with 33 additions and 0 deletions
11
Test/UTF8BOM.vert
Normal file
11
Test/UTF8BOM.vert
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
|
||||
glslangValidator.exe --glsl-version 410 -V -S vert -o UTF8BOM.vert.out UTF8BOM.vert
|
||||
|
||||
*/
|
||||
|
||||
#version 110
|
||||
|
||||
void main()
|
||||
{
|
||||
}
|
||||
1
Test/baseResults/UTF8BOM.vert.out
Normal file
1
Test/baseResults/UTF8BOM.vert.out
Normal file
|
|
@ -0,0 +1 @@
|
|||
UTF8BOM.vert
|
||||
|
|
@ -348,6 +348,13 @@ diff -b $BASEDIR/enhanced.7.link.out "$TARGETDIR/enhanced.7.link.out" || HASERRO
|
|||
run --enhanced-msgs -V --target-env vulkan1.2 --amb --aml spv.textureError.frag > "$TARGETDIR/spv.textureError.frag.out"
|
||||
diff -b $BASEDIR/spv.textureError.frag.out "$TARGETDIR/spv.textureError.frag.out" || HASERROR=1
|
||||
|
||||
#
|
||||
# Test UTF8BOM
|
||||
#
|
||||
echo "Testing UTF8BOM"
|
||||
run --glsl-version 410 -V -S vert UTF8BOM.vert > $TARGETDIR/UTF8BOM.vert.out
|
||||
diff -b $BASEDIR/UTF8BOM.vert.out $TARGETDIR/UTF8BOM.vert.out || HASERROR=1
|
||||
|
||||
#
|
||||
# Final checking
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue