summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-05-17 15:07:25 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-05-17 15:07:25 -0400
commitb908a0edac0ed51a647399f83eb9e8ed7b53151e (patch)
treeb6d0e1462c0d6998936657be7b90589cf917de0e
parent20b6c9271335aee1e4b0ff344af4ebe2aff4b680 (diff)
XXX: Rebase cleanups r600g computegallium-compute-r600-May17
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 8999a78bf84..4df78bf843e 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -605,6 +605,13 @@ static int r600_get_compute_param(struct pipe_screen *screen,
}
return 3 * sizeof(uint64_t);
+ case PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK:
+ if (ret) {
+ uint64_t * max_threads_per_block = ret;
+ *max_threads_per_block = 256;
+ }
+ return sizeof(uint64_t);
+
case PIPE_COMPUTE_CAP_MAX_GLOBAL_SIZE:
if (ret) {
uint64_t * max_global_size = ret;