On 7 September 2012 13:09, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>> writes:<br>
<br>
> This patch modifies framebuffer-blit-levels to test that blitting<br>
> between miplevels of the stencil portion of a depth/stencil texture<br>
> works properly.  This is an important corner case for Mesa's i965<br>
> driver.<br>
><br>
> Note that since stencil data can't be uploaded to a texture using<br>
> glTexImage2D(), the test creates stencil test data by drawing directly<br>
> into the stencil buffer.<br>
<br>
</div>I expected that uploading a format=depth/stencil image to a<br>
depth/stencil texture would actually store the stencil data, and it<br>
looks like Mesa allows it (I'm looking at _mesa_texstore_z24_s8()).  Am<br>
I missing something?<br>
<br>
First two patches are:<br>
<br>
Reviewed-by: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>><br>
</blockquote></div><br>Yes, you're right.  I'll push patches 1-2 and rework patches 3-4.<br>