[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
1 changed files with 2 additions and 1 deletions

View File

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