Browse Source

radeonsi: compile geometry shaders immediately

they have only 1 variant

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
tags/11.2-branchpoint
Marek Olšák 9 years ago
parent
commit
de2e28366a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/gallium/drivers/radeonsi/si_state_shaders.c

+ 2
- 1
src/gallium/drivers/radeonsi/si_state_shaders.c View File

} }


/* Pre-compilation. */ /* 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}; struct si_shader_ctx_state state = {sel};
union si_shader_key key; union si_shader_key key;



Loading…
Cancel
Save