Zebediah Figura (@zfigura) commented about tests/hlsl/cbuffer.shader_test:
uniform 4 float4 4.0 5.0 6.0 7.0 uniform 8 float4 8.0 9.0 10.0 11.0 uniform 12 float4 12.0 13.0 14.0 15.0 -draw quad +todo(sm>=6) draw quad probe all rgba (0.0, 4.0, 5.0, 6.0)
-[pixel shader fail] +[pixel shader fail(sm<6)] // Elements cannot overlap if buffer is used.
Hrm, this I'd definitely like to see tests for. Do they alias? Can you assign to them, and do they alias in that case? (I think sm6 might forbid storing to uniforms, though; I think sm4 forbids it unless you have the backwards compatibility flag.)