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 <kenneth@whitecape.org>
This commit is contained in:
Timothy Arceri 2019-06-25 16:33:22 +10:00
parent 06807e1948
commit f5f31612d3
1 changed files with 1 additions and 0 deletions

View File

@ -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: