[Mesa-dev] [PATCH] i965: Momentarily pretend to support ARB_texture_stencil8 for blits.
Neil Roberts
neil at linux.intel.com
Wed Jun 10 09:57:05 PDT 2015
Kenneth Graunke <kenneth at whitecape.org> writes:
> _mesa_meta_fb_tex_blit_begin(ctx, &blit);
> + ctx->Extensions.ARB_texture_stencil8 = true;
Maybe you could put assert(ctx->Extensions.ARB_texture_stencil8==false)
just before setting it to true so that we'll definitely remember to
remove it if we eventually enable the extension. Otherwise as it stands
if we forget about this it would probably not break any tests but the
extension would mysteriously disable itself and no-one would notice
because they would probably check the extensions just once upfront.
- Neil
More information about the mesa-dev
mailing list