From f5f31612d3392cb9ea015b157c4d564ac549a2f5 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 25 Jun 2019 16:33:22 +1000 Subject: [PATCH] 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 --- src/compiler/nir/nir_lower_clamp_color_outputs.c | 1 + 1 file changed, 1 insertion(+) 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: