projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a8b6f
)
radeonsi: compile geometry shaders immediately
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 28 Jan 2016 01:26:59 +0000
(
02:26
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 9 Feb 2016 20:19:51 +0000
(21:19 +0100)
they have only 1 variant
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 27a981ee0dc648de4312e06df07f4d3a1c704ba2..ce795c02c321bad788cf682ccbea2212d11ef2a7 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/
src/gallium/drivers/radeonsi/si_state_shaders.c
@@
-916,7
+916,8
@@
static void *si_create_shader_selector(struct pipe_context *ctx,
}
/* Pre-compilation. */
- if (sscreen->b.debug_flags & DBG_PRECOMPILE) {
+ if (sel->type == PIPE_SHADER_GEOMETRY ||
+ sscreen->b.debug_flags & DBG_PRECOMPILE) {
struct si_shader_ctx_state state = {sel};
union si_shader_key key;