[Mesa-dev] [PATCH] gallium/swr: remove use of UINT64 from swr_fence

Kenneth Graunke kenneth at whitecape.org
Mon Mar 7 22:39:13 UTC 2016


On Monday, March 7, 2016 2:59:34 PM PST Tim Rowley wrote:
> Remove use of a win32-style type leaked from the swr rasterizer.
> ---
>  src/gallium/drivers/swr/swr_fence.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/gallium/drivers/swr/swr_fence.cpp b/src/gallium/drivers/
swr/swr_fence.cpp
> index f97ea22..e80faee 100644
> --- a/src/gallium/drivers/swr/swr_fence.cpp
> +++ b/src/gallium/drivers/swr/swr_fence.cpp
> @@ -37,7 +37,7 @@
>   * to SwrSync call.
>   */
>  static void
> -swr_sync_cb(UINT64 userData, UINT64 userData2, UINT64 userData3)
> +swr_sync_cb(uint64_t userData, uint64_t userData2, uint64_t userData3)
>  {
>     struct swr_fence *fence = (struct swr_fence *)userData;
>  
> @@ -53,7 +53,7 @@ swr_fence_submit(struct swr_context *ctx, struct 
pipe_fence_handle *fh)
>     struct swr_fence *fence = swr_fence(fh);
>  
>     fence->write++;
> -   SwrSync(ctx->swrContext, swr_sync_cb, (UINT64)fence, 0, 0);
> +   SwrSync(ctx->swrContext, swr_sync_cb, (uint64_t)fence, 0, 0);
>  }
>  
>  /*
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160307/e3899918/attachment.sig>


More information about the mesa-dev mailing list