eden-miror/src/video_core/textures
lizzie a769505a45
[vk, ogl] Remove dedicated precomputed swizzle table; use shorter inline table in block_linear swizzle shaders (#4146)
old table = 64 * 8 * sizeof(u32) = 512 * 4 = 4096 bytes
new table = 8 * sizeof(u32) = 8 * 4 = 32 bytes

the expression
```glsl
    return ((pos & 0x0180) >> 1)
         | ((pos & 0x0040) >> 2)
         | ((pos & 0x0020) << 3)
         | ((pos & 0x0010) << 1)
         | ((pos & 0x000f) << 0);
```
is equivalent for generating the table but idk if we'd want that

Signed-off-by: lizzie <lizzie@eden-emu.dev>

Co-authored-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4146
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-07-02 19:24:07 +02:00
..
astc.cpp [common] remove ranges polyfill (#2546) 2025-09-24 19:29:48 +02:00
astc.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bcn.cpp video_core: Add BCn decoding support 2023-06-27 18:00:09 -07:00
bcn.h video_core: Add BCn decoding support 2023-06-27 18:00:09 -07:00
decoders.cpp [fixup] Revert "[video_core] remove decoders.cpp template<A,B> spam (16 copies of the same function) (#3263)" (#3333) 2026-01-18 05:42:05 +01:00
decoders.h [vk, ogl] Remove dedicated precomputed swizzle table; use shorter inline table in block_linear swizzle shaders (#4146) 2026-07-02 19:24:07 +02:00
texture.cpp [video_core, settings] Allow to turn of aniso levels completely, provide levels of aniso upto x64 (#3019) 2025-11-26 02:16:37 +01:00
texture.h video_core: Update texture format 2023-03-10 21:48:50 +08:00
workers.cpp [meta] fix license headers (#2547) 2025-09-21 21:58:59 +02:00
workers.h textures: add BC1 and BC3 compressors and recompression setting 2023-05-23 12:54:40 -04:00