d3d12: Use IID_PPV_ARGS instead of __uuidof
authorJesse Natalie <jenatali@microsoft.com>
Tue, 8 Dec 2020 18:14:47 +0000 (10:14 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Dec 2020 16:25:54 +0000 (16:25 +0000)
commitaf2e212c598d41d2dd6b1da85537c822198edd82
tree2f00f4af86da2768e0b96286a408526f785ef11f
parente1e05ad772e8872af1f0ef420640d02c11784271
d3d12: Use IID_PPV_ARGS instead of __uuidof

We've been inconsistent between IID_PPV_ARGS,
__uuidof(var), and __uuidof(type). Since Linux doesn't
support the latter of these, they need to be changed.
While we're at it, switch all __uuidof to the more terse
IIV_PPV_ARGS option.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7937>
src/gallium/drivers/d3d12/d3d12_batch.cpp
src/gallium/drivers/d3d12/d3d12_bufmgr.cpp
src/gallium/drivers/d3d12/d3d12_context.cpp
src/gallium/drivers/d3d12/d3d12_descriptor_pool.cpp
src/gallium/drivers/d3d12/d3d12_dxgi_screen.cpp
src/gallium/drivers/d3d12/d3d12_pipeline_state.cpp
src/gallium/drivers/d3d12/d3d12_query.cpp
src/gallium/drivers/d3d12/d3d12_resource.cpp
src/gallium/drivers/d3d12/d3d12_root_signature.cpp
src/gallium/drivers/d3d12/d3d12_screen.cpp