glsl: Disable MSVC switch warning on a per-file basis.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 19 Mar 2015 22:24:20 +0000 (22:24 +0000)
committerJose Fonseca <jfonseca@vmware.com>
Sun, 22 Mar 2015 08:23:23 +0000 (08:23 +0000)
commitfb78cccd7b5c29f9ecd2c86b530449e903dcc093
tree6c2805b81b3121009232db1a7d0ec12fdce05e9d
parentd01a7cdae576162791813c131027a6e675a4e6c7
glsl: Disable MSVC switch warning on a per-file basis.

This addresses

  ...\glsl_parser.cpp(...) : warning C4065: switch statement contains 'default' but no 'case' labels

This is on code generated by bison, which we have little control.

It seems useful to have this warning otherwise enabled.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glsl_parser.yy