diff options
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 857a5444fcc..205fc9561fe 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -1181,6 +1181,9 @@ st_create_fp_variant(struct st_context *st, false, alpha_ref_state); } + if (key->lower_two_sided_color) + NIR_PASS_V(tgsi.ir.nir, nir_lower_two_sided_color); + if (key->persample_shading) { nir_shader *shader = tgsi.ir.nir; nir_foreach_variable(var, &shader->inputs) |