mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[tests] Fix compiler error with the DxbcModuleInfo struct
This commit is contained in:
parent
dd51437584
commit
a6c2080156
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue