diff options
author | Tim Rowley <[email protected]> | 2016-10-06 13:22:35 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-10-11 11:22:04 -0500 |
commit | a907b7a5f74169906c04e9702f3c8fda99636c56 (patch) | |
tree | f30e7beeaa367fa2eff39626100956bcde721433 /src/gallium/drivers/swr/swr_draw.cpp | |
parent | 5d5179a6c240e82d6d5de513bb6fa3b5ec85dd60 (diff) |
swr: [rasterizer core] SwrStoreTiles api change
SwrStoreTiles now takes a mask of surfaces to store. Reduces
overhead when storing multiple render targets.
Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_draw.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_draw.cpp b/src/gallium/drivers/swr/swr_draw.cpp index a46aef924ab..39378e61bb2 100644 --- a/src/gallium/drivers/swr/swr_draw.cpp +++ b/src/gallium/drivers/swr/swr_draw.cpp @@ -262,7 +262,7 @@ swr_store_render_target(struct pipe_context *pipe, SWR_RECT full_rect = {0, 0, (int32_t)renderTarget->width, (int32_t)renderTarget->height}; SwrStoreTiles(ctx->swrContext, - (enum SWR_RENDERTARGET_ATTACHMENT)attachment, + 1 << attachment, post_tile_state, full_rect); } |