Mesa (master): r600g/compute: Fixing a typo and some indentation
Tom Stellard
tstellar at kemper.freedesktop.org
Tue Jun 10 19:31:04 UTC 2014
Module: Mesa
Branch: master
Commit: fd943fa6c219fbddaeb95e6518eebb2522687561
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd943fa6c219fbddaeb95e6518eebb2522687561
Author: Bruno Jiménez <brunojimen at gmail.com>
Date: Mon May 19 18:14:51 2014 +0200
r600g/compute: Fixing a typo and some indentation
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 2f0d4c8..ccbb211 100644
--- a/src/gallium/drivers/r600/compute_memory_pool.c
+++ b/src/gallium/drivers/r600/compute_memory_pool.c
@@ -263,7 +263,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;
}
@@ -451,7 +451,7 @@ void compute_memory_transfer(
map = pipe->transfer_map(pipe, gart, 0, PIPE_TRANSFER_READ,
&(struct pipe_box) { .width = aligned_size * 4,
.height = 1, .depth = 1 }, &xfer);
- assert(xfer);
+ assert(xfer);
assert(map);
memcpy(data, map + internal_offset, size);
pipe->transfer_unmap(pipe, xfer);
More information about the mesa-commit
mailing list