diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 3bc7b0649c4..422b7b2a593 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -1103,6 +1103,10 @@ st_create_fp_variant(struct st_context *st, key->external.lower_iyuv); } + /* Some of the lowering above may have introduced new varyings */ + nir_shader_gather_info(tgsi.ir.nir, + nir_shader_get_entrypoint(tgsi.ir.nir)); + variant->driver_shader = pipe->create_fs_state(pipe, &tgsi); variant->key = *key; |