Add support for testing file-based HLSL source code in GTest.

This commit is contained in:
Lei Zhang
2016-05-16 12:50:30 -04:00
parent 4678ca9dac
commit d6f0ed2c81
8 changed files with 142 additions and 38 deletions

View File

@@ -69,7 +69,7 @@ public:
InitializationToken acquire(EShMessages new_messages)
{
if ((lastMessages ^ new_messages) &
(EShMsgVulkanRules | EShMsgSpvRules)) {
(EShMsgVulkanRules | EShMsgSpvRules | EShMsgReadHlsl)) {
glslang::FinalizeProcess();
glslang::InitializeProcess();
}