Hello. I've got a quite small reproduction of an "Internal compiler error: access violation ..." using the 2021-12-08 released dxc as follows -
dxc.exe test.hlsl -E main -T as_6_5 -Od
where 'test.hlsl' contains -
struct SharedPayload
{
uint2 m_a;
void Foo( in float3 v3 )
{
uint3 f16Vec3 = f32tof16(v3);
m_a.x = f16Vec3.x | (f16Vec3.y<<16);
m_a.y = f16Vec3.z;
}
};
groupshared SharedPayload g_payload;
[numthreads(8, 8, 1)]
void main()
{
g_payload.Foo( 1.0.xxx );
DispatchMesh(1,1,1,g_payload);
}
I'm not claiming this is supposed to compile without errors but I would expect it to report a sensible error message rather than get a memory access violation.
Cheers
Dan