summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-06-25 16:33:22 +1000
committerTimothy Arceri <[email protected]>2019-06-26 00:36:48 +0000
commitf5f31612d3392cb9ea015b157c4d564ac549a2f5 (patch)
treef8f5015e34ee66ba82de111932d948fb91473024
parent06807e1948f1bced9806b00908c892f1e3c3db5b (diff)
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 <[email protected]>
-rw-r--r--src/compiler/nir/nir_lower_clamp_color_outputs.c1
1 files changed, 1 insertions, 0 deletions
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: