From: Timothy Arceri Date: Tue, 25 Jun 2019 06:33:22 +0000 (+1000) Subject: nir: add tess support to nir_lower_clamp_color_outputs() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5f31612d3392cb9ea015b157c4d564ac549a2f5;p=mesa.git nir: add tess support to nir_lower_clamp_color_outputs() This will be used to add compat profile support for higher GL versions. Reviewed-by: Kenneth Graunke --- diff --git a/src/compiler/nir/nir_lower_clamp_color_outputs.c b/src/compiler/nir/nir_lower_clamp_color_outputs.c index 32f85562427..07ed1d7925b 100644 --- a/src/compiler/nir/nir_lower_clamp_color_outputs.c +++ b/src/compiler/nir/nir_lower_clamp_color_outputs.c @@ -36,6 +36,7 @@ is_color_output(lower_state *state, nir_variable *out) switch (state->shader->info.stage) { case MESA_SHADER_VERTEX: case MESA_SHADER_GEOMETRY: + case MESA_SHADER_TESS_EVAL: switch (out->data.location) { case VARYING_SLOT_COL0: case VARYING_SLOT_COL1: