case DXIL_ATTR_KIND_NO_UNWIND: value = "nounwind"; break;
case DXIL_ATTR_KIND_READ_NONE: value = "readnone"; break;
case DXIL_ATTR_KIND_READ_ONLY: value = "readonly"; break;
+ case DXIL_ATTR_KIND_NO_DUPLICATE: value = "noduplicate"; break;
}
_mesa_string_buffer_append(d->buf, value);
}
case nir_intrinsic_store_ssbo:
progress |= lower_store_ssbo(&b, intr);
break;
+ default:
+ break;
}
}
}
ATOMIC(comp_swap);
#undef ATOMIC
+ default:
+ break;
}
}
}
case nir_op_f2f16_rtne:
case nir_op_f2f16_rtz:
return true;
+ default:
+ return false;
}
} else if (instr->type == nir_instr_type_intrinsic) {
nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr);
case nir_op_f2f16_rtz:
mode = nir_rounding_mode_rtz;
break;
+ default: unreachable("Should've been filtered");
}
} else {
nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr);
case DXIL_INTR_ISFINITE:
case DXIL_INTR_ISNORMAL:
return "dx.op.isSpecialFloat";
+ default:
+ return "dx.op.unary";
}
-
- return "dx.op.unary";
}
static const struct dxil_value *
if (is_double(info->input_types[0], nir_src_bit_size(alu->src[0].src)))
ctx->mod.feats.dx11_1_double_extensions = true;
break;
+ default:
+ break;
}
const struct dxil_value *v = dxil_emit_cast(&ctx->mod, opcode, type,
const struct dxil_value *retval = dxil_emit_extractval(&ctx->mod, sample, 3);
store_dest(ctx, &instr->dest, 0, retval, nir_alu_type_get_base_type(instr->dest_type));
return true;
+
+ default:
+ fprintf(stderr, "texture op: %d\n", instr->op);
+ unreachable("unknown texture op");
}
if (!sample)