diff options
author | Tim Rowley <[email protected]> | 2017-04-21 10:21:19 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-04-28 19:56:50 -0500 |
commit | 5fde2ae533cd739dec929248649c43e0c9e07e54 (patch) | |
tree | b5868664e59ac56a224a9940e9bb29b8eecb4c3c /src/gallium/drivers/swr/swr_context.cpp | |
parent | e8d58049f6409308f376c6b04f9d2fb20cb4de7c (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.cpp | 5 |
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; |