projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ecb970
)
freedreno/computerator: Use threadsize calculated by ir3
author
Connor Abbott
<cwabbott0@gmail.com>
Wed, 10 Mar 2021 14:30:19 +0000
(15:30 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 22 Mar 2021 18:03:16 +0000
(18:03 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9498>
src/freedreno/computerator/a6xx.c
patch
|
blob
|
history
diff --git
a/src/freedreno/computerator/a6xx.c
b/src/freedreno/computerator/a6xx.c
index
7b95b54
..
14e05ac
100644
(file)
--- a/
src/freedreno/computerator/a6xx.c
+++ b/
src/freedreno/computerator/a6xx.c
@@
-115,7
+115,7
@@
cs_program_emit(struct fd_ringbuffer *ring, struct kernel *kernel)
struct ir3_kernel *ir3_kernel = to_ir3_kernel(kernel);
struct ir3_shader_variant *v = ir3_kernel->v;
const struct ir3_info *i = &v->info;
- enum a6xx_threadsize thrsz =
THREAD128
;
+ enum a6xx_threadsize thrsz =
i->double_threadsize ? THREAD128 : THREAD64
;
OUT_PKT4(ring, REG_A6XX_SP_MODE_CONTROL, 1);
OUT_RING(ring, A6XX_SP_MODE_CONTROL_CONSTANT_DEMOTION_ENABLE | 4);