diff options
author | Roland Scheidegger <[email protected]> | 2017-05-27 04:34:14 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2017-05-27 15:49:21 +0200 |
commit | d2724fe5bddb1ca9cb61c79ddfe78a09b92eebc5 (patch) | |
tree | b5bc630af015d95a443ed151fce4f2e058f9c86c /src/gallium/drivers/llvmpipe | |
parent | 31ff7bff5af2db13581d2e313f29d4be08f98e3a (diff) |
llvmpipe: add LP_NEW_GS flag for updating vertex info
The vertex information we compute here is really dependent on the last
stage before FS. It just happened to work most of the time because new
GS tend to come with new VS and/or FS...
(The LP_NEW_GS flag was previously set but never used.)
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_derived.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_derived.c b/src/gallium/drivers/llvmpipe/lp_state_derived.c index fa9d4fb2fdf..3e75d44dac6 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_derived.c +++ b/src/gallium/drivers/llvmpipe/lp_state_derived.c @@ -194,6 +194,7 @@ void llvmpipe_update_derived( struct llvmpipe_context *llvmpipe ) /* This needs LP_NEW_RASTERIZER because of draw_prepare_shader_outputs(). */ if (llvmpipe->dirty & (LP_NEW_RASTERIZER | LP_NEW_FS | + LP_NEW_GS | LP_NEW_VS)) compute_vertex_info(llvmpipe); |