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:
parent
06807e1948
commit
f5f31612d3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue