mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[tests] Allow includes when compiling HLSL shaders
This commit is contained in:
parent
49e5357a87
commit
22b8d7a4d3
@ -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…
x
Reference in New Issue
Block a user