We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf3a482 commit c3b47c2Copy full SHA for c3b47c2
1 file changed
Graphics/ShaderTools/src/ConvertUBOToPushConstant.cpp
@@ -443,7 +443,12 @@ class ConvertUBOToPushConstantPass : public spvtools::opt::Pass
443
default:
444
// Unexpected pointer-producing instruction. This may indicate
445
// 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()));
+ // 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.");
452
return false;
453
}
454
0 commit comments