1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-21 13:54:18 +01:00

[tests] Enable d3dcompiler option for unbounded descriptor tables

Makes compiling SM5.1 shaders for D3D12 a bit less painful.
This commit is contained in:
Philip Rebohle 2020-02-21 10:26:28 +01:00
parent f095f6385e
commit d424fb87aa
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -48,7 +48,8 @@ int WINAPI WinMain(HINSTANCE hInstance,
"Shader", nullptr, nullptr, "Shader", nullptr, nullptr,
str::fromws(entryPoint).c_str(), str::fromws(entryPoint).c_str(),
str::fromws(target).c_str(), str::fromws(target).c_str(),
D3DCOMPILE_OPTIMIZATION_LEVEL3, D3DCOMPILE_OPTIMIZATION_LEVEL3 |
D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES,
0, &binary, &errors); 0, &binary, &errors);
if (FAILED(hr)) { if (FAILED(hr)) {