DieMitchell
21eb3de1c2
Fix out-of-bounds texture size query extracts in the SPIR-V translator
...
The SPIR-V generator emitted OpCompositeExtract with the guest's component index even when it exceeded the image's size vector. A 2D texture's OpImageQuerySizeLod returns a v2int, so a guest request for the third component (depth) produced an extract of index 2, which is invalid SPIR-V. RADV crashed while compiling those variants during shader preparation.
Return the constant 1 for a component past the texture's dimensions, the depth of a 1D/2D/cube texture, and apply the same guard in the GLSL generator. build_xlate.py now expects the added patch.
2026-11-09 10:44:00 -05:00
..
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:16:25 -05:00
2026-11-09 10:44:00 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 09:10:36 -05:00
2026-11-08 00:34:29 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 06:06:33 -05:00
2026-11-09 10:44:00 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 15:51:48 -05:00
2026-11-08 15:51:48 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 18:03:20 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:22:06 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 10:42:36 -05:00
2026-11-09 09:10:36 -05:00
2026-11-09 09:10:36 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:39 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-09 06:06:33 -05:00
2026-11-08 03:57:01 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-08 01:25:12 -05:00
2026-11-09 03:34:46 -05:00
2026-11-09 08:09:26 -05:00
2026-11-07 05:04:38 -05:00
2026-11-09 08:09:26 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-08 00:34:29 -05:00
2026-11-07 18:03:20 -05:00
2026-11-07 05:04:40 -05:00
2026-11-08 03:57:01 -05:00
2026-11-07 05:04:40 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 05:04:38 -05:00
2026-11-07 13:31:06 -05:00