diff --git a/src/compiler/nir/nir_lower_io_to_scalar.c b/src/compiler/nir/nir_lower_io_to_scalar.c index 929761fa888394dda92ce96a4d2eec0ac7232f37..90530e18165089281299d2f2935621e1ec3da564 100644 --- a/src/compiler/nir/nir_lower_io_to_scalar.c +++ b/src/compiler/nir/nir_lower_io_to_scalar.c @@ -312,10 +312,6 @@ nir_lower_io_to_scalar_early(nir_shader *shader, nir_variable_mode mask) nir_deref_instr_get_variable(nir_src_as_deref(intr->src[0])); nir_variable_mode mode = var->data.mode; - /* TODO: add patch support */ - if (var->data.patch) - continue; - /* TODO: add doubles support */ if (glsl_type_is_64bit(glsl_without_array(var->type))) continue;