diff options
Diffstat (limited to 'src/gallium/drivers/swr/swr_screen.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_screen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index 639b18f930f..46b3a003c63 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -1058,6 +1058,9 @@ swr_destroy_screen(struct pipe_screen *p_screen) swr_fence_reference(p_screen, &screen->flush_fence, NULL); JitDestroyContext(screen->hJitMgr); +#if USE_SIMD16_SHADERS + JitDestroyContext(screen->hJitMgr16); +#endif if (winsys->destroy) winsys->destroy(winsys); @@ -1141,6 +1144,9 @@ swr_create_screen_internal(struct sw_winsys *winsys) // Pass in "" for architecture for run-time determination screen->hJitMgr = JitCreateContext(KNOB_SIMD_WIDTH, "", "swr"); +#if USE_SIMD16_SHADERS + screen->hJitMgr16 = JitCreateContext(16, "", "swr"); +#endif swr_fence_init(&screen->base); |