diff options
author | Patrick Rudolph <[email protected]> | 2016-10-26 17:11:00 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:23 +0100 |
commit | ac2927335bc7cd4994d2fc0906eb328773b1f923 (patch) | |
tree | 3dc5241c7c4dc691ad80852c6aab42ef90f1aee1 /src/gallium/state_trackers/nine/pixelshader9.c | |
parent | 2c371a25a8800883dda353853cca6b5a2ba71bb4 (diff) |
st/nine: Implement gallium nine CSMT
Use an offloading thread for all nine_context functions.
Macros are used to ease the reading of the code.
Signed-off-by: Patrick Rudolph <[email protected]>
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/pixelshader9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/pixelshader9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/pixelshader9.c b/src/gallium/state_trackers/nine/pixelshader9.c index 92980afe5d6..cb970eae76b 100644 --- a/src/gallium/state_trackers/nine/pixelshader9.c +++ b/src/gallium/state_trackers/nine/pixelshader9.c @@ -94,7 +94,7 @@ NinePixelShader9_dtor( struct NinePixelShader9 *This ) DBG("This=%p\n", This); if (This->base.device) { - struct pipe_context *pipe = NineDevice9_GetPipe(This->base.device); + struct pipe_context *pipe = nine_context_get_pipe_multithread(This->base.device); struct nine_shader_variant *var = &This->variant; do { |