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:
f8c830a
)
radeonsi: enable aco support for standalone tes
author
Qiang Yu
<qiang.yu@amd.com>
Tue, 23 May 2023 07:45:20 +0000
(15:45 +0800)
committer
Qiang Yu
<yuq825@gmail.com>
Fri, 9 Jun 2023 02:53:33 +0000
(10:53 +0800)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23433>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index
c2f6e51
..
67245bf
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_shader.c
+++ b/
src/gallium/drivers/radeonsi/si_shader.c
@@
-2323,6
+2323,9
@@
static void si_determine_use_aco(struct si_shader *shader)
case MESA_SHADER_TESS_CTRL:
shader->use_aco = shader->is_monolithic && !si_is_multi_part_shader(shader);
break;
+ case MESA_SHADER_TESS_EVAL:
+ shader->use_aco = !si_is_multi_part_shader(shader);
+ break;
case MESA_SHADER_FRAGMENT:
shader->use_aco = shader->is_monolithic;
break;