i965: Silence warning in 3-src type-setting.
authorMatt Turner <mattst88@gmail.com>
Wed, 27 May 2015 19:19:07 +0000 (12:19 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 28 May 2015 19:59:04 +0000 (12:59 -0700)
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c

index e78d0bec268111443e2b3ab8803d91eaedbb4f63..a1d11f3043325eda480b02106b4bcdd31d69dec2 100644 (file)
@@ -914,6 +914,8 @@ brw_alu3(struct brw_codegen *p, unsigned opcode, struct brw_reg dest,
          brw_inst_set_3src_src_type(devinfo, inst, BRW_3SRC_TYPE_UD);
          brw_inst_set_3src_dst_type(devinfo, inst, BRW_3SRC_TYPE_UD);
          break;
+      default:
+         unreachable("not reached");
       }
    }