i965: Replace default case with list of enum values.
authorMatt Turner <mattst88@gmail.com>
Mon, 26 Oct 2015 13:58:56 +0000 (06:58 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 2 Nov 2015 17:33:31 +0000 (09:33 -0800)
commit7c81a6a647257c309cb1ca36c60aa4bfa8e2e022
tree026f011468ed261c31ce96f68e92c6b06f17d8c2
parentd9b09f8a306dfd471e45b5294c3adcb119114387
i965: Replace default case with list of enum values.

If we add a new file type, we'd like to get warnings if it's not
handled.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_ir_fs.h
src/mesa/drivers/dri/i965/brw_vec4.cpp