Split ConversionClass so each width-changing conversion carries its own
shape contract instead of sharing IntegerToInteger and FloatToFloat
buckets. OpUConvert, OpSConvert, and OpFConvert now require the source and
result component widths to differ: a same-width conversion is not a no-op,
it is an invalid instruction. OpUConvert additionally requires an unsigned
result type, since it names a zero extension or truncation.
Reject OpSatConvertSToU and OpSatConvertUToS as a shape class before they
reach a numeric contract that does not describe them; the saturating OpenCL
conversions require the Kernel capability and have no Vulkan environment.
Switch the conversion checks from scalar_type_shape to numeric_type_shape
so component width is available alongside opcode and lane count.
Cover each rejected and accepted shape with a test that pairs the owned
verdict against the independent spirv-val verdict, so the construction-time
rule stays a restatement of the Vulkan rule rather than a local invention.
Verified: cargo clippy --all-targets (clean). Per request, the cargo doc
check and workspace test run were skipped.
Claude-Session: https://claude.ai/code/session_015sJUGShcKseDFnk4WvaJU2