mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-18 04:54:15 +01:00
[tests] Fix compiler error with the DxbcModuleInfo struct
This commit is contained in:
parent
dd51437584
commit
a6c2080156
@ -41,7 +41,10 @@ int WINAPI WinMain(HINSTANCE hInstance,
|
||||
DxbcReader reader(dxbcCode.data(), dxbcCode.size());
|
||||
DxbcModule module(reader);
|
||||
|
||||
Rc<DxvkShader> shader = module.compile(DxbcOptions(), ifileName);
|
||||
DxbcModuleInfo moduleInfo;
|
||||
moduleInfo.options = DxbcOptions();
|
||||
|
||||
Rc<DxvkShader> shader = module.compile(moduleInfo, ifileName);
|
||||
std::ofstream ofile(str::fromws(argv[2]), std::ios::binary);
|
||||
shader->dump(ofile);
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user