修复错误的shader_model
This commit is contained in:
parent
983de38c36
commit
9e79dae3c9
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user