diff options
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 189ffacb7f7..58dc36d1d2a 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -203,7 +203,7 @@ void evergreen_compute_upload_input( unsigned buffer_size = shader->input_size; /* Add space for the grid dimensions */ - buffer_size += kernel_parameters_offset_bytes * sizeof(uint); + buffer_size += kernel_parameters_offset_bytes; shader->kernel_param = r600_compute_buffer_alloc_vram( ctx->screen, buffer_size); } |