brw_blorp_exec(struct brw_context *brw, const brw_blorp_params *params)
{
struct gl_context *ctx = &brw->ctx;
- uint32_t estimated_max_batch_usage = 1500;
+ const uint32_t estimated_max_batch_usage = brw->gen >= 8 ? 1800 : 1500;
bool check_aperture_failed_once = false;
/* Flush the sampler and render caches. We definitely need to flush the
case 7:
gen7_blorp_exec(brw, params);
break;
+ case 8:
+ case 9:
+ gen8_blorp_exec(brw, params);
+ break;
default:
/* BLORP is not supported before Gen6. */
unreachable("not reached");
src_mt->num_samples > 8 || dst_mt->num_samples > 8)
return false;
- /* BLORP is only supported for Gen6-7. */
- if (brw->gen < 6 || brw->gen > 7)
+ /* BLORP is only supported from Gen6 onwards. */
+ if (brw->gen < 6)
return false;
if (_mesa_get_format_base_format(src_rb->Format) !=
GLbitfield mask, GLenum filter)
{
/* BLORP is not supported before Gen6. */
- if (brw->gen < 6 || brw->gen >= 8)
+ if (brw->gen < 6)
return mask;
/* There is support only for four and eight samples. */
struct intel_mipmap_tree *dst)
{
/* There is support only for four and eight samples. */
- const bool use_blorp = brw->gen < 8 &&
- src->num_samples != 2 && dst->num_samples != 2 &&
+ const bool use_blorp = src->num_samples != 2 && dst->num_samples != 2 &&
src->num_samples <= 8 && dst->num_samples <= 8;
if (use_blorp) {