anv: use dict.get in anv_entrypoints_gen.py
authorDylan Baker <dylan@pnwbakers.com>
Tue, 21 Feb 2017 19:07:44 +0000 (11:07 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 22 Mar 2017 23:22:00 +0000 (16:22 -0700)
commit4d4697f86889d6ef89cf8bab94ebcfb4b7be461d
tree770cb7faf4d32fdb38ba4a6b3e8f5cee4b915bfa
parent96a5f2a5acbe952ce6b18e74edf99b46777f15fc
anv: use dict.get in anv_entrypoints_gen.py

Instead of using an if and a check, use dict.get, which does the same
thing, but more succinctly.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
src/intel/vulkan/anv_entrypoints_gen.py