HLSL: Fix #1432: Globally initialize local static variables.

This commit is contained in:
John Kessenich
2018-07-11 01:09:14 -06:00
parent 64315a8aed
commit cf6bd066b9
7 changed files with 257 additions and 12 deletions

1
gtests/Hlsl.FromFile.cpp Normal file → Executable file
View File

@@ -318,6 +318,7 @@ INSTANTIATE_TEST_CASE_P(
{"hlsl.self_cast.frag", "main"},
{"hlsl.snorm.uav.comp", "main"},
{"hlsl.staticMemberFunction.frag", "main"},
{"hlsl.staticFuncInit.frag", "main"},
{"hlsl.store.rwbyteaddressbuffer.type.comp", "main"},
{"hlsl.stringtoken.frag", "main"},
{"hlsl.string.frag", "main"},