d3d12: Compare shader keys with a switch, instead of cascading if's
authorGiancarlo Devich <gdevich@microsoft.com>
Tue, 28 Feb 2023 23:44:43 +0000 (15:44 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Mar 2023 19:40:06 +0000 (19:40 +0000)
commitebd925e79ce5dc4d4ee940d213806e2fcab1a78b
tree37611d42652f0bc89b7f35e36e769448224f0866
parent4887b88d22f6a26d7044a2d46b28553aaf0dc770
d3d12: Compare shader keys with a switch, instead of cascading if's

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21610>
src/gallium/drivers/d3d12/d3d12_compiler.cpp