mesa: improve error messaging for format CSV parser
authorTapani Pälli <tapani.palli@intel.com>
Mon, 26 Jan 2015 10:35:23 +0000 (12:35 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 28 Jan 2015 08:40:15 +0000 (10:40 +0200)
commit291d7ef84dcd83962515cbd7ce91ce1ff70930ed
tree71c48ae9d5b43af1f9498b91f40edfef7f4d02d6
parent6ee5effac1ac8858c96820ece352be57c5c53cf6
mesa: improve error messaging for format CSV parser

Patch adds 2 error messages that point user directly to fix
mispelled or impossible swizzle field for a format.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/main/format_info.py
src/mesa/main/format_parser.py