File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,12 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
443443 default :
444444 // Unexpected pointer-producing instruction. This may indicate
445445 // a new SPIR-V extension or pattern not yet handled.
446- UNEXPECTED (" Unexpected instruction with pointer result type: opcode " , static_cast <uint32_t >(inst.opcode ()));
446+ // Stop propagation on this path and log a warning.
447+ LOG_WARNING_MESSAGE (" ConvertUBOToPushConstantPass: unhandled pointer-producing opcode " ,
448+ static_cast <uint32_t >(inst.opcode ()),
449+ " (" , spvOpcodeString (inst.opcode ()),
450+ " ). Storage-class propagation stopped for this chain. "
451+ " If this causes issues, please report it to the developers." );
447452 return false ;
448453 }
449454 }
You can’t perform that action at this time.
0 commit comments