1
0
Fork 0
forked from suyu/suyu
suyu/src/shader_recompiler
Markus Wick c78c8190d5 shader_recompiler/LOP3: Use brute force python results within switch/case.
Thanks to @asLody for optimizing this function. This raised the focus that this function should be optimized more.

The current table assumes that the host GPU is able to invert for free, so only AND,OR,XOR are accumulated in the performance metrik.

Performance results:

Instructions
0: 8
1: 30
2: 114
3: 80
4: 24

Latency
0: 8
1: 30
2: 194
3: 24
2022-03-08 09:44:28 +01:00
..
backend emit_glsl_atomic: Implement 32x2 fallback atomic ops 2022-01-29 19:56:03 -05:00
frontend shader_recompiler/LOP3: Use brute force python results within switch/case. 2022-03-08 09:44:28 +01:00
ir_opt lower_int64_to_int32: Add 64-bit atomic fallbacks 2022-01-29 19:56:02 -05:00
CMakeLists.txt shader_recompiler: Rename backend emit_context files 2021-12-05 16:33:44 -05:00
environment.h ShaderDecompiler: Add a debug option to dump the game's shaders. 2022-01-04 02:39:00 +01:00
exception.h logging/log.h: move enum class formatter to a separate file ... 2022-01-09 17:35:33 -07:00
host_translate_info.h structured_control_flow: Conditionally invoke demote reorder pass 2021-08-30 11:46:24 -04:00
object_pool.h general: Update style to clang-format-12 2021-09-24 15:52:05 -04:00
profile.h glsl: Add boolean reference workaround 2021-12-29 19:03:50 -05:00
program_header.h shader: Rework varyings and implement passthrough geometry shaders 2021-07-22 21:51:39 -04:00
runtime_info.h shader: Properly scale image reads and add GL SPIR-V support 2021-11-16 22:11:29 +01:00
shader_info.h spirv: Implement rescaling patching 2021-11-16 22:11:28 +01:00
stage.h shader: Unify shader stage types 2021-07-22 21:51:39 -04:00
varying_state.h Implement convert legacy to generic 2021-11-19 22:53:58 +08:00