You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixesshader-slang#75
In order to avoid cascaded errors, I went ahead and made the parser refuse to skip past a `}` in recovery mode. The problem with this is that we fail to make forward progress if we are stuck on a `}` (this happens if you have an extra `}` at the global scope.
`struct LightCB
{
float3 vec3Val; // We're using 2 values. [0]: worldDir [1]: intensity
};
StructuredBuffer gLightIn;
AppendStructuredBuffer gLightOut;
[numthreads(1, 1, 1)]
void main()
{
uint numLights = 0;
uint stride;
gLightIn.GetDimensions(numLights, stride);
}`
The text was updated successfully, but these errors were encountered: