aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c
Commit message (Collapse)AuthorAgeFilesLines
* Add an expected file for 094-divide-by-zero-short-circuitCarl Worth2011-04-141-0/+11
| | | | | | | | | | | The expected file here captures the current behavior of glcpp (which is to generate a division-by-zero error) for this case. It's easy to argue that it should be short-circuiting the evaluation and not generating the diagnostic (which happens to be what gcc does). But it doesn't seem like we should force this behavior on our pre-processor, (and, as always, the GLSL specification of the pre-processor is too vague on this point).
* glcpp: Add division by zero test cases.Vinson Lee2011-01-041-0/+2