diff options
| author | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-24 16:00:23 +0200 |
|---|---|---|
| committer | whoalin1 <207920491+whoalin1@users.noreply.github.com> | 2026-11-25 02:11:05 +0200 |
| commit | 355fe0c62e81ec245d8b927c7b27f904facba892 (patch) | |
| tree | 6268206b281e1c748dcb9c2c31a22ea86901abf2 /runtime/opus_decoder | |
| parent | 1154976d49acca28ad436b90861e9f9aea28eba9 (diff) | |
rdna2spirv: list %ms_cull before %ms_out_vtx in OpEntryPoint MeshEXT (AMD Windows LLPC crash)
AMD's proprietary Windows Vulkan driver (24.10.24, LLPC) segfaults (0xC0000005) during vkCreateGraphicsPipelines whenever a MeshEXT shader lists a Block-decorated per-vertex output struct with ClipDistance/CullDistance (%ms_out_vtx) before the Block-decorated PerPrimitiveEXT CullPrimitiveEXT output (%ms_cull) in OpEntryPoint's interface list (even glslangValidator's own GLSL output with gl_ClipDistance + gl_CullPrimitiveEXT hits the same crash).
Listing %ms_cull before %ms_out_vtx/%ms_out_pos in OpEntryPoint fixes ms_clip on AMD Windows RDNA2 (0xC0000005 -> 2048/4096 covered pixels exact, 0 validation errors) while keeping %ms_cull_blk in its Block+bool form required by SPIRV-Tools <=2025.1 (SHADER-30).
SHADER-MS-CLIP-IFACE
Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Diffstat (limited to 'runtime/opus_decoder')
0 files changed, 0 insertions, 0 deletions