I'm not sure whether this is a bug in DXC or the default constant buffer $Param is no longer supported.
But the following code sample compiles fine with FXC but fails with DXC because a semantic is missing:
float4 PSMain(uniform float4 FooBar) : SV_Target {
return FooBar;
}
Here is the code sample at shader-playground.timhones.io:
FXC Output
DXC Output
I'm not sure whether this is a bug in DXC or the default constant buffer
$Paramis no longer supported.But the following code sample compiles fine with FXC but fails with DXC because a semantic is missing:
Here is the code sample at shader-playground.timhones.io:
FXC Output
DXC Output