Mesa (main): d3d12: Inherit from threaded_query
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Nov 9 01:32:00 UTC 2021
Module: Mesa
Branch: main
Commit: a463aa0099810f35c4e08b792df132eab788ed9f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a463aa0099810f35c4e08b792df132eab788ed9f
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Wed Nov 3 10:20:44 2021 -0700
d3d12: Inherit from threaded_query
Reviewed By: Bill Kristiansen <billkris at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13670>
---
src/gallium/drivers/d3d12/d3d12_query.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/d3d12/d3d12_query.cpp b/src/gallium/drivers/d3d12/d3d12_query.cpp
index 8cc8b723b2c..9f86e956e0d 100644
--- a/src/gallium/drivers/d3d12/d3d12_query.cpp
+++ b/src/gallium/drivers/d3d12/d3d12_query.cpp
@@ -29,10 +29,12 @@
#include "util/u_dump.h"
#include "util/u_inlines.h"
#include "util/u_memory.h"
+#include "util/u_threaded_context.h"
#include <dxguids/dxguids.h>
struct d3d12_query {
+ struct threaded_query base;
enum pipe_query_type type;
ID3D12QueryHeap *query_heap;
More information about the mesa-commit
mailing list