d3d12: Compare shader key common parts with memcmp, instead of if's
authorGiancarlo Devich <gdevich@microsoft.com>
Tue, 28 Feb 2023 23:49:15 +0000 (15:49 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Mar 2023 19:40:06 +0000 (19:40 +0000)
commite4ba343ac913989829bef71d23dd913ea4d84a03
treee5737895c8a1d42b04755c1c3c1f1a25468cc777
parent623a01827c3d9f5dadb3cff7fba7beb031287e9a
d3d12: Compare shader key common parts with memcmp, instead of if's

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