diff options
author | Chia-I Wu <[email protected]> | 2013-06-20 17:42:21 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-25 13:17:21 +0800 |
commit | 851202c319701c541d52f87ffa22505504c50d57 (patch) | |
tree | 0d36147c66cd5bf795168fb567c0089761f579d6 /src/gallium/drivers/ilo/ilo_shader.c | |
parent | d209da5e338ee1f437cbce21e9cba667d60ee557 (diff) |
ilo: use ilo_shader_cso for GS
Add ilo_gpe_init_gs_cso() to construct 3DSTATE_GS once and early for geometry
shaders.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c index 983cfffc851..086134a2bc8 100644 --- a/src/gallium/drivers/ilo/ilo_shader.c +++ b/src/gallium/drivers/ilo/ilo_shader.c @@ -683,6 +683,9 @@ ilo_shader_state_use_variant(struct ilo_shader_state *state, case PIPE_SHADER_VERTEX: ilo_gpe_init_vs_cso(state->info.dev, state, &sh->cso); break; + case PIPE_SHADER_GEOMETRY: + ilo_gpe_init_gs_cso(state->info.dev, state, &sh->cso); + break; default: break; } |