<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 2, 2015 at 11:33 AM, Ilia Mirkin <span dir="ltr"><<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Mar 2, 2015 at 2:32 PM, Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
><br>
><br>
> On Mon, Mar 2, 2015 at 11:18 AM, Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>> wrote:<br>
>><br>
>> Hmmm... I was just looking at this code in connection to attepmting to<br>
>> enable ARB_texture_stencil8, and it _seems_ like that should be if<br>
>> (ARB_texture_stencil8) -- I didn't see what in ARB_stencil_texturing<br>
>> had to do with being able to have a GL_STENCIL_INDEX* internal<br>
>> format...<br>
><br>
><br>
> I just pushed it because it does fix a bug...  However, you do raise a good<br>
> point.  Maybe we should change the i965 driver to use GL_STENCIL_INDEX for<br>
> the internal format for our internal stencil buffers.<br>
<br>
</span>How do you end up with a GL_STENCIL_INDEX internal format in the first<br>
place? Without ARB_texture_stencil8 that's not a thing, is it?<br>
</blockquote></div><br></div><div class="gmail_extra">We're using it internally for doing stencil blits.  I'm going to Cc Neil and he can explain what's going on there better than I can as he was the one who wrote most of that code.<br></div><div class="gmail_extra">--Jason<br></div></div>