summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_screen.h
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-06-29 14:37:07 -0500
committerTim Rowley <[email protected]>2017-07-11 13:38:20 -0500
commitf50aa21456d82c8cb6fbaa565835f1acc1720a5d (patch)
tree1d646268c57b3c42bdeee271d3243964fc6e45ab /src/gallium/drivers/swr/swr_screen.h
parent50cd222116b40e4df2462cb25a92960d557c9144 (diff)
swr: build driver proper separate from rasterizer
swr used to build and link the rasterizer to the driver, and to support multiple architectures we needed to have multiple versions of the driver/rasterizer combination, which needed to link in much of mesa. Changing to having one instance of the driver and just building architecture specific versions of the rasterizer gives a large reduction in disk space. libGL.so 6464 Kb -> 7000 Kb libswrAVX.so 10068 Kb -> 5432 Kb libswrAVX2.so 9828 Kb -> 5200 Kb Total 26360 Kb -> 17632 Kb Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_screen.h')
-rw-r--r--src/gallium/drivers/swr/swr_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.h b/src/gallium/drivers/swr/swr_screen.h
index dc1bb47f02d..a10f4265354 100644
--- a/src/gallium/drivers/swr/swr_screen.h
+++ b/src/gallium/drivers/swr/swr_screen.h
@@ -47,6 +47,8 @@ struct swr_screen {
uint8_t msaa_max_count;
HANDLE hJitMgr;
+
+ PFNSwrGetInterface pfnSwrGetInterface;
};
static INLINE struct swr_screen *