[Mesa-dev] [PATCH 1/5] Fixing a typo and some indentation
Tom Stellard
tom at stellard.net
Sat Jan 4 06:50:36 PST 2014
On Sat, Jan 04, 2014 at 01:27:29AM +0100, Bruno Jiménez wrote:
> ---
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> src/gallium/drivers/r600/compute_memory_pool.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/drivers/r600/compute_memory_pool.c b/src/gallium/drivers/r600/compute_memory_pool.c
> index fd3a04c..7a7b057 100644
> --- a/src/gallium/drivers/r600/compute_memory_pool.c
> +++ b/src/gallium/drivers/r600/compute_memory_pool.c
> @@ -264,7 +264,7 @@ void compute_memory_finalize_pending(struct compute_memory_pool* pool,
> unallocated += item->size_in_dw+1024;
> }
> else {
> - /* The item is not pendng, so update the amount of space
> + /* The item is not pending, so update the amount of space
> * that has already been allocated. */
> allocated += item->size_in_dw;
> }
> @@ -452,7 +452,7 @@ void compute_memory_transfer(
> map = pipe->transfer_map(pipe, gart, 0, PIPE_TRANSFER_READ,
> &(struct pipe_box) { .width = aligned_size,
> .height = 1, .depth = 1 }, &xfer);
> - assert(xfer);
> + assert(xfer);
> assert(map);
> memcpy(data, map + internal_offset, size);
> pipe->transfer_unmap(pipe, xfer);
> --
> 1.8.5.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list