aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_compute_internal.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-06-12 14:38:59 -0700
committerTom Stellard <[email protected]>2013-06-28 08:33:11 -0700
commit2840bec56f79347b95dec5458b20d4a46d1aa445 (patch)
treec49c4c6a610869ffed879b9e74f426a7c9bc99a0 /src/gallium/drivers/r600/evergreen_compute_internal.h
parent2639fca1f017907af7ce446fba60b520aa376abc (diff)
r600g/compute: Accept LDS size from the LLVM backend
And allocate the correct amount before dispatching the kernel. Tested-by: Aaron Watry <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute_internal.h')
-rw-r--r--src/gallium/drivers/r600/evergreen_compute_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute_internal.h b/src/gallium/drivers/r600/evergreen_compute_internal.h
index f904d610bdf..c524da2b84d 100644
--- a/src/gallium/drivers/r600/evergreen_compute_internal.h
+++ b/src/gallium/drivers/r600/evergreen_compute_internal.h
@@ -42,6 +42,7 @@ struct r600_pipe_compute {
unsigned num_kernels;
struct r600_kernel *kernels;
+ struct r600_kernel *active_kernel;
unsigned local_size;
unsigned private_size;
unsigned input_size;