From 81371a59093d59963a43b7f1becbed9d3c657e45 Mon Sep 17 00:00:00 2001 From: George Kyriazis Date: Thu, 5 Apr 2018 12:08:15 -0500 Subject: swr/rast: Change gfx pointers to gfxptr_t Changing type to gfxptr for indices and related changes to fetch and mem builder code. Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/swr_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/swr/swr_state.cpp') diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index d11323ef2e7..c5d755d7200 100644 --- a/src/gallium/drivers/swr/swr_state.cpp +++ b/src/gallium/drivers/swr/swr_state.cpp @@ -1375,7 +1375,7 @@ swr_update_derived(struct pipe_context *pipe, SWR_INDEX_BUFFER_STATE swrIndexBuffer; swrIndexBuffer.format = swr_convert_index_type(info.index_size); - swrIndexBuffer.pIndices = p_data; + swrIndexBuffer.xpIndices = (gfxptr_t) p_data; swrIndexBuffer.size = size; ctx->api.pfnSwrSetIndexBuffer(ctx->swrContext, &swrIndexBuffer); -- cgit v1.2.3