Fix Kokiri loading crashes with RX_VK_MESH_FIRST enabled #217
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!217
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/mesh-first-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this fixes
With
RX_VK_MESH_FIRST=1, loading Kokiri Forest can abort with0xc0000409on an RX 9070 XT when a task shader has no guest 64-bit operations.Why merge
Change
gpu/vk/eden/shader_recompiler/backend/spirv/spirv_emit_context.cpp: add the support check andif (!Sirit::ValidId(U64)) { AddCapability(spv::Capability::Int64); U64 = Name(TypeInt(64, false), "u64"); }.nx2/test_mesh_first_types.py: check actual setup with the option on/off, existing/missing types, other stages and unsupported profiles.Tested
RX_CPMset:python nx2/test_mesh_first_types.py --headers "$env:RX_CPM/spirv-headers/vulkan-sdk-1.4.341.0/include" --cxx clang++checks ten setup/type/capability cases. Fails on the old code, passes now.Not covered