eden/src/shader_recompiler/ir_opt
ryana a76c76d122
[shader_recompiler] handle dynamic texture descriptor strides (#3898)
this fixes dynamic texture descriptors that are not laid out as simple 8-byte entries

tested on steam deck/amd

notes
- DynamicDescriptorSizeShift called twice because i moved it away from the struct but doing it this way keeps the patch just in this single file than adding a new derived field in the shared struct (i also think its just a cheap recomputation anyways)
- removed cbuf scanning because i figured out how to do a bounds check statically

credits:
- Mythrax <mythrax@mytrax-rs.org> (identified the 1024 descriptor cap fix in #3897)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3898
Reviewed-by: crueter <crueter@eden-emu.dev>
2026-05-04 18:15:55 +02:00
..
collect_shader_info_pass.cpp [meta] fix license headers (#2547) 2025-09-21 21:58:59 +02:00
conditional_barrier_pass.cpp shader_recompiler: remove barriers in conditional control flow when device lacks support 2023-06-10 12:30:39 -04:00
constant_propagation_pass.cpp [common] replace Common::BitCast with libc++ provided one (#2774) 2025-10-22 02:56:28 +02:00
dead_code_elimination_pass.cpp Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass" 2022-10-25 12:57:25 +08:00
dual_vertex_pass.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
global_memory_to_storage_buffer_pass.cpp revert Align and bias memory stronger 2025-07-11 19:57:21 +02:00
identity_removal_pass.cpp [vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA passes (#3250) 2026-01-20 02:36:24 +01:00
layer_pass.cpp shader_recompiler: add gl_Layer translation GS for older hardware 2022-12-01 09:51:27 -05:00
lower_fp16_to_fp32.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lower_fp64_to_fp32.cpp shader_recompiler: translate f64 to f32 when unsupported on host 2023-06-10 12:38:49 -04:00
lower_int64_to_int32.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
passes.h Merge branch 'master' into ssbo-align 2023-11-26 21:08:53 -05:00
position_pass.cpp video_core: Generate mipmap texture by drawing 2022-09-20 11:55:43 +08:00
rescaling_pass.cpp [Settings] Add "Enable Legacy Rescale Pass" Toggle (#3582) 2026-02-26 03:57:25 +01:00
ssa_rewrite_pass.cpp [*] change all std::unordered_map and std::unordered_set into ankerl::unordered_dense::map/set variants (#3442) 2026-02-10 03:34:07 +01:00
texture_pass.cpp [shader_recompiler] handle dynamic texture descriptor strides (#3898) 2026-05-04 18:15:55 +02:00
vendor_workaround_pass.cpp shader_recompiler: add byteswap pattern workaround for Nvidia 2023-11-17 22:29:12 -05:00
verification_pass.cpp GCC 12 fixes 2022-04-28 16:50:34 -04:00