[email protected] writes:

> From: Roland Scheidegger <[email protected]>
>
> By the looks of it "default" is not required to appear as last statement
> in a switch expression, and c rules should be followed (which is probably
> a mess to implement thanks to fallthrough).
> Seems to fail with mesa glsl compiler (at least with tgsi translation).

Reviewed-by: Eric Anholt <[email protected]>

I'm sure it does fail with the compiler as-is.  Without too much
restructuring (which the code desperately needs -- see
fs-exec-after-break, which I think is a killer), I think you'd have to
note where the default case check is, and have later cases patch the
condition for it to include "but not in this case".

What a mess.

Attachment: pgpjQw2yNUFez.pgp
Description: PGP signature

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to