diff options
author | Tim Rowley <[email protected]> | 2017-06-29 14:03:43 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-07-11 13:38:20 -0500 |
commit | 50cd222116b40e4df2462cb25a92960d557c9144 (patch) | |
tree | d80f494a6d0fdd90069cd3901ef6c9a14246daf1 /src/gallium/drivers/swr/swr_fence.cpp | |
parent | 27c5568de3674ec95f02816a06b13180bad0838b (diff) |
swr: switch to using SwrGetInterface api table
Use the SWR rasterizer API through the table returned from
SwrGetInterface rather than referencing the functions directly.
This will allow us to move to a model of having the driver dynamically
load the appropriate swr architecture library.
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_fence.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_fence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_fence.cpp b/src/gallium/drivers/swr/swr_fence.cpp index c73bbbf2708..abf1d0c69c8 100644 --- a/src/gallium/drivers/swr/swr_fence.cpp +++ b/src/gallium/drivers/swr/swr_fence.cpp @@ -59,7 +59,7 @@ swr_fence_submit(struct swr_context *ctx, struct pipe_fence_handle *fh) fence->write++; fence->pending = TRUE; - SwrSync(ctx->swrContext, swr_fence_cb, (uint64_t)fence, fence->write, 0); + ctx->api.pfnSwrSync(ctx->swrContext, swr_fence_cb, (uint64_t)fence, fence->write, 0); } /* |