shadPS4/src/shader_recompiler/frontend
TheTurtle a49b13fe66
shader_recompiler: Optimize general case of buffer addressing (#3159)
* shader_recompiler: Simplify dma types

Only U32 is needed for S_LOAD_DWORD

* shader_recompiler: Perform address shift on IR level

Buffer instructions now expect address in the data unit they work on. Doing the shift on IR level will allow us to optimize some operations away on common case

* shader_recompiler: Optimize common buffer access pattern

* emit_spirv: Use 32-bit integer ops for fault buffer

Not many GPUs have 8-bit bitwise or operations so that would probably require some overhead to emulate from the driver

* resource_tracking_pass: Fix texel buffer shift
2025-06-26 12:14:36 +03:00
..
translate shader_recompiler: Optimize general case of buffer addressing (#3159) 2025-06-26 12:14:36 +03:00
control_flow_graph.cpp Implement SET_PC_B64 instruction (#2823) 2025-04-21 14:25:15 -07:00
control_flow_graph.h shader_recompiler: Improve divergence handling and readlane elimintation (#2667) 2025-03-23 00:35:42 +02:00
copy_shader.cpp shader_recompiler: Better handling of geometry shader scenario G (#3064) 2025-06-08 17:31:51 -07:00
copy_shader.h shader_recompiler: Better handling of geometry shader scenario G (#3064) 2025-06-08 17:31:51 -07:00
decode.cpp Handle R128 bit in MIMG instructions (#3010) 2025-05-29 16:56:24 -07:00
decode.h video: Import new shader recompiler + display a triangle (#142) 2024-05-22 01:35:12 +03:00
fetch_shader.cpp shader_recompiler: Implement AMD buffer bounds checking behavior. (#2448) 2025-02-17 16:13:39 +02:00
fetch_shader.h shader_recompiler: Implement AMD buffer bounds checking behavior. (#2448) 2025-02-17 16:13:39 +02:00
format.cpp shader_recompiler: Fill in IMAGE_GATHER4_* variants in table. (#2798) 2025-04-16 17:35:14 -07:00
instruction.cpp Implement SET_PC_B64 instruction (#2823) 2025-04-21 14:25:15 -07:00
instruction.h GnmDriver: Clear context support (#567) 2024-08-25 23:01:05 +03:00
opcodes.h Initial support of Geometry shaders (#1244) 2024-10-06 01:26:50 +03:00
structured_control_flow.cpp shader_recompiler: Implement linear interpolation support (#3055) 2025-06-08 22:46:34 +03:00
structured_control_flow.h shader_recompiler: Implement render target swizzles when no format is available (#739) 2024-09-03 14:04:30 +03:00
tessellation.h Tessellation (#1528) 2024-12-14 12:56:17 +02:00