修复错误的shader_model

This commit is contained in:
Nanako 2024-02-02 01:07:12 +08:00
parent 983de38c36
commit 9e79dae3c9

View File

@ -36,7 +36,7 @@ bool shader_dx11::init()
shader_flags |= D3DCOMPILE_OPTIMIZATION_LEVEL3;
#endif
const auto target = "cs_5_0";
const auto target = get_shader_model();
auto hr = compile_func(
code_blob->getBufferPointer(),