mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[tests] Fix dxbc compiler test compilation issue
This commit is contained in:
parent
ba9e1f307d
commit
7c65764ed8
@ -41,8 +41,8 @@ int WINAPI WinMain(HINSTANCE hInstance,
|
|||||||
DxbcModule module(reader);
|
DxbcModule module(reader);
|
||||||
|
|
||||||
Rc<DxvkShader> shader = module.compile(DxbcOptions());
|
Rc<DxvkShader> shader = module.compile(DxbcOptions());
|
||||||
shader->dump(std::ofstream(
|
std::ofstream ofile(str::fromws(argv[2]), std::ios::binary);
|
||||||
str::fromws(argv[2]), std::ios::binary));
|
shader->dump(ofile);
|
||||||
return 0;
|
return 0;
|
||||||
} catch (const DxvkError& e) {
|
} catch (const DxvkError& e) {
|
||||||
Logger::err(e.message());
|
Logger::err(e.message());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user