mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[D3D12] Temporarily disable shader optimization
This commit is contained in:
parent
c0ff73a588
commit
ea922bb3ab
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ bool D3D12Shader::Prepare() {
|
|||
bool compiled = SUCCEEDED(
|
||||
D3DCompile(translated_binary_.data(), translated_binary_.size(), nullptr,
|
||||
nullptr, nullptr, "main", target,
|
||||
D3DCOMPILE_OPTIMIZATION_LEVEL0, 0, &blob_, &error_blob));
|
||||
D3DCOMPILE_SKIP_OPTIMIZATION, 0, &blob_, &error_blob));
|
||||
|
||||
if (!compiled) {
|
||||
XELOGE("%s shader %.16llX compilation failed!", target, ucode_data_hash());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue