summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_context.cpp
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-04-21 10:21:19 -0500
committerTim Rowley <[email protected]>2017-04-28 19:56:50 -0500
commit5fde2ae533cd739dec929248649c43e0c9e07e54 (patch)
treeb5868664e59ac56a224a9940e9bb29b8eecb4c3c /src/gallium/drivers/swr/swr_context.cpp
parente8d58049f6409308f376c6b04f9d2fb20cb4de7c (diff)
swr/rast: add SwrInit() to init backend/memory tables
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_context.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_context.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/swr/swr_context.cpp b/src/gallium/drivers/swr/swr_context.cpp
index aa5cca8e653..e8e465196db 100644
--- a/src/gallium/drivers/swr/swr_context.cpp
+++ b/src/gallium/drivers/swr/swr_context.cpp
@@ -553,10 +553,7 @@ swr_create_context(struct pipe_screen *p_screen, void *priv, unsigned flags)
createInfo.pfnUpdateStatsFE = swr_UpdateStatsFE;
ctx->swrContext = SwrCreateContext(&createInfo);
- /* Init Load/Store/ClearTiles Tables */
- swr_InitMemoryModule();
-
- InitBackendFuncTables();
+ SwrInit();
if (ctx->swrContext == NULL)
goto fail;