mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[tests] Allow includes when compiling HLSL shaders
This commit is contained in:
parent
49e5357a87
commit
22b8d7a4d3
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ int WINAPI WinMain(HINSTANCE hInstance,
|
|||
HRESULT hr = D3DCompile(
|
||||
hlslCode.data(),
|
||||
hlslCode.size(),
|
||||
"Shader", nullptr, nullptr,
|
||||
"Shader", nullptr,
|
||||
D3D_COMPILE_STANDARD_FILE_INCLUDE,
|
||||
str::fromws(entryPoint).c_str(),
|
||||
str::fromws(target).c_str(),
|
||||
D3DCOMPILE_OPTIMIZATION_LEVEL3 |
|
||||
|
|
Loading…
Add table
Reference in a new issue