slang icon indicating copy to clipboard operation
slang copied to clipboard

assertion failure with zero-length array

Open expipiplus1 opened this issue 2 years ago • 1 comments

Fails in legalizeArrayReturnType

[numthreads(4, 1, 1)]
void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
{
    bar();
}
func bar() -> int[0];

expipiplus1 avatar May 19 '23 13:05 expipiplus1

Seems like q3 is where we're putting language completeness items. Medium b/c compiler crash so inherently more important than quality of life

natduca avatar Dec 01 '23 00:12 natduca