Index: mesa-26.0.0-rc2/src/gallium/drivers/d3d12/d3d12_context_common.cpp =================================================================== --- mesa-26.0.0-rc2.orig/src/gallium/drivers/d3d12/d3d12_context_common.cpp +++ mesa-26.0.0-rc2/src/gallium/drivers/d3d12/d3d12_context_common.cpp @@ -61,6 +61,7 @@ #include #include #include "d3d12_interop_public.h" +#include #ifndef _GAMING_XBOX #include @@ -372,7 +373,7 @@ d3d12_context_set_queue_priority(struct mtx_lock(&ctx12->priority_manager_lock); { // Set the queue priority - ComPtr prio_iface; + Microsoft::WRL::ComPtr prio_iface; if(FAILED(d3d12_queue->QueryInterface(IID_PPV_ARGS(&prio_iface)))) { mtx_unlock(&ctx12->priority_manager_lock); @@ -408,7 +409,7 @@ d3d12_context_get_queue_priority(struct mtx_lock(&ctx12->priority_manager_lock); { - ComPtr prio_iface; + Microsoft::WRL::ComPtr prio_iface; if (FAILED(d3d12_queue->QueryInterface(IID_PPV_ARGS(&prio_iface)))) { mtx_unlock(&ctx12->priority_manager_lock);