Had a bit of extra time tonight, so I rebased this patchset against the latest and included my fixes:
https://gitlab.winehq.org/flibitijibibo/vkd3d/-/commits/discard-rebase/
Full list of changes: - Added DISCARD case for spirv_compiler_handle_instruction, fixes the discard instruction being thrown out when generating SPIR-V - hlsl.y discard parsing needed hlsl_ir_jump* to be updated to hlsl_ir_node* - Added a commit to remove the clear call from the Vulkan runner - The test is now the "9 8 7 6" test