d3d12: Add forward declaration for LUID
authorJesse Natalie <jenatali@microsoft.com>
Tue, 8 Dec 2020 18:17:24 +0000 (10:17 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Dec 2020 16:25:54 +0000 (16:25 +0000)
This is needed so that the driver can be initialized by
external code without windows.h or winadapter.h.

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_public.h

index c0d9c66..12dd39f 100644 (file)
@@ -26,6 +26,7 @@
 
 struct pipe_screen;
 struct sw_winsys;
+typedef struct _LUID LUID;
 
 #ifdef __cplusplus
 extern "C" {