OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1485
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
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 <dxguids/dxguids.h>
|
|
#include <string.h>
|
|
#include "d3d12_interop_public.h"
|
|
+#include <wrl/client.h>
|
|
|
|
#ifndef _GAMING_XBOX
|
|
#include <wrl/client.h>
|
|
@@ -372,7 +373,7 @@ d3d12_context_set_queue_priority(struct
|
|
mtx_lock(&ctx12->priority_manager_lock);
|
|
{
|
|
// Set the queue priority
|
|
- ComPtr<ID3D12CommandQueue1> prio_iface;
|
|
+ Microsoft::WRL::ComPtr<ID3D12CommandQueue1> 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<ID3D12CommandQueue1> prio_iface;
|
|
+ Microsoft::WRL::ComPtr<ID3D12CommandQueue1> prio_iface;
|
|
if (FAILED(d3d12_queue->QueryInterface(IID_PPV_ARGS(&prio_iface))))
|
|
{
|
|
mtx_unlock(&ctx12->priority_manager_lock);
|