diff options
author | Alok Hota <[email protected]> | 2018-09-14 09:45:26 -0500 |
---|---|---|
committer | Alok Hota <[email protected]> | 2019-02-15 14:54:29 -0600 |
commit | f695e433542847cc396b6b55c6f6e912a196a107 (patch) | |
tree | 505af5d5eb7b367e6407654b3f5fae17de457b04 /src/gallium/drivers/swr/swr_state.cpp | |
parent | a7fa0cc0a5b812c0732a0a7e05888b4dd37d55b3 (diff) |
swr/rast: Add translation support to streamout
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_state.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index e540ddb06c8..d7baa7127b4 100644 --- a/src/gallium/drivers/swr/swr_state.cpp +++ b/src/gallium/drivers/swr/swr_state.cpp @@ -1746,7 +1746,7 @@ swr_update_derived(struct pipe_context *pipe, continue; buffer.enable = true; buffer.pBuffer = - (uint32_t *)(swr_resource_data(ctx->so_targets[i]->buffer) + + (gfxptr_t)(swr_resource_data(ctx->so_targets[i]->buffer) + ctx->so_targets[i]->buffer_offset); buffer.bufferSize = ctx->so_targets[i]->buffer_size >> 2; buffer.pitch = stream_output->stride[i]; |