eden-miror/src/shader_recompiler
PavelBARABANOV 3d3ed4b7d1
[shader_recompiler, renderer_vulkan] draw sprites whose texture handle comes from a vertex attribute (#4566)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md).
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------
credit: Ghael-V

Draw sprites whose texture handle comes from a vertex attribute. A bindless handle read from an interpolated vertex attribute could not be tracked to a constant buffer, so pipeline creation threw and every draw using the shader was dropped (FIFA player indicators, shadows and some text).

The handle now gets a sentinel descriptor, and the Vulkan rasterizer splits a triangle-list draw into runs of vertices that share a handle and binds each run's texture before drawing it.

4fec247e9e
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4566
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
2026-11-01 21:44:40 +01:00
..
backend [emit_spirv_image] remove the fix for LA/EOW (#4589) 2026-10-30 02:26:33 +01:00
frontend [ir] resolve conditional Phi inputs when tracking bindless texture handles (#4551) 2026-10-26 17:24:00 +01:00
ir_opt [shader_recompiler, renderer_vulkan] draw sprites whose texture handle comes from a vertex attribute (#4566) 2026-11-01 21:44:40 +01:00
CMakeLists.txt [shader_recompiler, vulkan, qcom, tu] Provide handling to missing shader subgroups on QCOM (#4508) 2026-10-14 00:04:16 +02:00
environment.h [common] Switch to boost::unordered_flat containers (#4326) 2026-08-31 02:58:09 +02:00
exception.h
host_translate_info.h [shader_recompiler, renderer_vulkan] draw sprites whose texture handle comes from a vertex attribute (#4566) 2026-11-01 21:44:40 +01:00
object_pool.h
profile.h [shader_recompiler, vulkan, qcom, tu] Provide handling to missing shader subgroups on QCOM (#4508) 2026-10-14 00:04:16 +02:00
program_header.h
runtime_info.h
shader_info.h [shader_recompiler, renderer_vulkan] draw sprites whose texture handle comes from a vertex attribute (#4566) 2026-11-01 21:44:40 +01:00
stage.h
varying_state.h