summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/archrast/archrast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/archrast/archrast.h')
-rw-r--r--src/gallium/drivers/swr/rasterizer/archrast/archrast.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/archrast/archrast.h b/src/gallium/drivers/swr/rasterizer/archrast/archrast.h
index e6376f208fe..4783144fcb5 100644
--- a/src/gallium/drivers/swr/rasterizer/archrast/archrast.h
+++ b/src/gallium/drivers/swr/rasterizer/archrast/archrast.h
@@ -32,7 +32,13 @@
namespace ArchRast
{
- HANDLE CreateThreadContext();
+ enum class AR_THREAD
+ {
+ API = 0,
+ WORKER = 1
+ };
+
+ HANDLE CreateThreadContext(AR_THREAD type);
void DestroyThreadContext(HANDLE hThreadContext);
// Dispatch event for this thread.