mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-25 12:13:27 +00:00
- Add ComponentScalarType helper function - Update ImageType to use component-specific sampled types - Add TextureColorResultType and TextureSampleResultToFloat helpers - Update all texture sampling functions to handle component types correctly - Add proper type conversions for integer and stencil textures - Add Flat decorations for integer inputs in fragment shaders - Add NonWritable decoration for read-only storage buffers This ensures textures are sampled with the correct component types, improving accuracy for integer and depth/stencil textures. Co-Authored-By: ForrestMarkX <forrestmarkx@outlook.com> Signed-off-by: Zephyron <zephyron@citron-emu.org>