From a6c20801564d5eaa3d310a620f85f5be6164c693 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 23 Jun 2018 18:28:22 +0200 Subject: [PATCH] [tests] Fix compiler error with the DxbcModuleInfo struct --- tests/dxbc/test_dxbc_compiler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/dxbc/test_dxbc_compiler.cpp b/tests/dxbc/test_dxbc_compiler.cpp index 668981c3..0754dede 100644 --- a/tests/dxbc/test_dxbc_compiler.cpp +++ b/tests/dxbc/test_dxbc_compiler.cpp @@ -41,7 +41,10 @@ int WINAPI WinMain(HINSTANCE hInstance, DxbcReader reader(dxbcCode.data(), dxbcCode.size()); DxbcModule module(reader); - Rc shader = module.compile(DxbcOptions(), ifileName); + DxbcModuleInfo moduleInfo; + moduleInfo.options = DxbcOptions(); + + Rc shader = module.compile(moduleInfo, ifileName); std::ofstream ofile(str::fromws(argv[2]), std::ios::binary); shader->dump(ofile); return 0;