summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_screen.h
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-10-17 15:11:19 -0500
committerTim Rowley <[email protected]>2017-10-19 13:10:55 -0500
commitbfda35c8dd4bc602a3b174377dfea92319438e2b (patch)
tree832141fc605c7b4503dfdbcb2a0fc48e3ed0d67d /src/gallium/drivers/swr/swr_screen.h
parent028ffa5e1820707ef0cab52853e36a259b00c849 (diff)
swr: knob overrides for Intel Xeon Phi
Architecture benefits from having more threads/work outstanding. Patch by Jan Zielinski. Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_screen.h')
-rw-r--r--src/gallium/drivers/swr/swr_screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.h b/src/gallium/drivers/swr/swr_screen.h
index 1c4e3315836..81b1a18b028 100644
--- a/src/gallium/drivers/swr/swr_screen.h
+++ b/src/gallium/drivers/swr/swr_screen.h
@@ -54,6 +54,9 @@ struct swr_screen {
#endif
PFNSwrGetInterface pfnSwrGetInterface;
+
+ /* Do we run on Xeon Phi? */
+ bool is_knl;
};
static INLINE struct swr_screen *