It seems we need to keep some sane defaults around for a bit, at least until
the pipe drivers learn to avoid translating things like alpha_src_factor when
blend_enable is false.
case PIPE_BLENDFACTOR_INV_CONST_ALPHA:
return 0x8004;
default:
- assert(0);
+ return 0x0000;
}
}
case PIPE_BLEND_REVERSE_SUBTRACT:
return 0x800b;
default:
- assert(0);
+ return 0x8006;
}
}
case PIPE_LOGICOP_SET:
return 0x150f;
default:
- assert(0);
+ return 0x1505;
}
}
case PIPE_FUNC_ALWAYS:
return 0x0207;
default:
- assert(0);
+ return 0x0207;
}
}
case PIPE_POLYGON_MODE_FILL:
return 0x1b02;
default:
- assert(0);
+ return 0x1b02;
}
}
case PIPE_STENCIL_OP_DECR_WRAP:
return 0x8508;
default:
- assert(0);
+ return 0x1e00;
}
}
static boolean
nv50_query_result(struct pipe_context *pipe, struct pipe_query *q,
- boolean wait, uint64_t *result)
+ boolean wait, uint64 *result)
{
NOUVEAU_ERR("unimplemented\n");
*result = 0xdeadcafe;