v3d: Remove dead switch cases and comments from v3d_nir_lower_io.
[mesa.git] / src / broadcom / compiler / v3d_nir_lower_io.c
index 1c1665f5831a7b33e657b9bd217197bea9d538e8..db339f87a53b78afe76dbb136d554bccf9eead7f 100644 (file)
  * Walks the NIR generated by TGSI-to-NIR or GLSL-to-NIR to lower its io
  * intrinsics into something amenable to the V3D architecture.
  *
- * Currently, it splits VS inputs and uniforms into scalars, drops any
- * non-position outputs in coordinate shaders, and fixes up the addressing on
- * indirect uniform loads.  FS input and VS output scalarization is handled by
- * nir_lower_io_to_scalar().
+ * Currently, it just splits uniforms into scalars, and fixes up the
+ * addressing on indirect uniform loads.  FS input and VS output scalarization
+ * is handled by nir_lower_io_to_scalar().
  */
 
 static void
@@ -95,14 +94,10 @@ v3d_nir_lower_io_instr(struct v3d_compile *c, nir_builder *b,
         nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr);
 
         switch (intr->intrinsic) {
-        case nir_intrinsic_load_input:
-                break;
-
         case nir_intrinsic_load_uniform:
                 v3d_nir_lower_uniform(c, b, intr);
                 break;
 
-        case nir_intrinsic_load_user_clip_plane:
         default:
                 break;
         }