[Mesa-dev] [PATCH 1/1] r600: upload implicit arguments even if there are no explicit args
Jan Vesely
jan.vesely at rutgers.edu
Mon Nov 3 17:29:37 PST 2014
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
moreover, the condition is never true now that clover appends dim info
src/gallium/drivers/r600/evergreen_compute.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index 90fdd79..41dc93e 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -295,10 +295,6 @@ void evergreen_compute_upload_input(
struct pipe_box box;
struct pipe_transfer *transfer = NULL;
- if (shader->input_size == 0) {
- return;
- }
-
if (!shader->kernel_param) {
/* Add space for the grid dimensions */
shader->kernel_param = (struct r600_resource *)
--
1.9.3
More information about the mesa-dev
mailing list