google / graphicsfuzz

A testing framework for automatically finding and simplifying bugs in graphics shader compilers.
Apache License 2.0
561 stars 117 forks source link

Do not leave an empty default statement in a switch #246

Closed afd closed 5 years ago

afd commented 5 years ago

The reducer can lead to:

swtich(...) { ... default: }

Some shader compilers reject this, and glslangValidator warns about it. We should avoid getting into this situation.

afd commented 5 years ago

Fixed by #247