shader_recompiler: add byteswap pattern workaround for Nvidia

This commit is contained in:
Ameer J 2023-11-17 22:29:12 -05:00
parent 2136a46ab7
commit 9343b81afd
4 changed files with 82 additions and 0 deletions

View file

@ -310,6 +310,7 @@ IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::Blo
}
Optimization::CollectShaderInfoPass(env, program);
Optimization::LayerPass(program, host_info);
Optimization::VendorWorkaroundPass(program);
CollectInterpolationInfo(env, program);
AddNVNStorageBuffers(program);