struct gl_context *ctx = &brw->ctx;
struct intel_renderbuffer *irb = intel_renderbuffer(rb);
struct intel_mipmap_tree *mt = irb->mt;
- if (!irb || !mt) return 0;
+ if (!mt) return 0;
if (brw->gen < 9) {
assert(!(flags & INTEL_AUX_BUFFER_DISABLED));
{
struct intel_miptree_map *map;
+ if (!mt) return;
assert(mt->num_samples <= 1);
map = intel_miptree_attach_map(mt, level, slice, x, y, w, h, mode);
unsigned int level,
unsigned int slice)
{
+ if (!mt) return;
struct intel_miptree_map *map = mt->level[level].slice[slice].map;
assert(mt->num_samples <= 1);