projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62981bb
)
freedreno/a5xx: add global size compute cap
author
Rob Clark
<robdclark@gmail.com>
Thu, 9 Nov 2017 21:57:05 +0000
(16:57 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Sun, 12 Nov 2017 17:28:59 +0000
(12:28 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/freedreno_screen.c
b/src/gallium/drivers/freedreno/freedreno_screen.c
index 6a44d7543d1800a757f1b722e01aefd608a68ed7..159f272c9d7de155524ce2ba97b6838b850538d9 100644
(file)
--- a/
src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/
src/gallium/drivers/freedreno/freedreno_screen.c
@@
-665,6
+665,11
@@
fd_get_compute_param(struct pipe_screen *pscreen, enum pipe_shader_ir ir_type,
case PIPE_COMPUTE_CAP_MAX_GLOBAL_SIZE:
case PIPE_COMPUTE_CAP_MAX_LOCAL_SIZE:
+ if (ret) {
+ uint64_t *local_size = ret;
+ *local_size = 32768;
+ }
+ return sizeof(uint64_t);
case PIPE_COMPUTE_CAP_MAX_PRIVATE_SIZE:
case PIPE_COMPUTE_CAP_MAX_INPUT_SIZE:
break;