summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_state.cpp
diff options
context:
space:
mode:
authorAlok Hota <[email protected]>2018-09-14 09:45:26 -0500
committerAlok Hota <[email protected]>2019-02-15 14:54:29 -0600
commitf695e433542847cc396b6b55c6f6e912a196a107 (patch)
tree505af5d5eb7b367e6407654b3f5fae17de457b04 /src/gallium/drivers/swr/swr_state.cpp
parenta7fa0cc0a5b812c0732a0a7e05888b4dd37d55b3 (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.cpp2
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];