<div dir="ltr">Agreed. I've updated the patch. Thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 11:39 AM, Chad Versace <span dir="ltr"><<a href="mailto:chad.versace@intel.com" target="_blank">chad.versace@intel.com</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 Tue 11 Aug 2015, Nanley Chery wrote:<br>
> From: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
><br>
> In agreement with the ASTC spec, this makes calls to TexImage*D unsuccessful.<br>
> Implied by the spec, Generate[Texture]Mipmap and [Copy]TexSubImage*D calls<br>
> must be unsuccessful as well.<br>
><br>
> v2. actually force attempts to compress online to fail.<br>
> v3. indentation (Matt).<br>
><br>
> Signed-off-by: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
<br>
</span>I think your patch is missing a needed hunk. The patch updates 3 of the<br>
5 callers of compressedteximage_only_format to use<br>
_mesa_format_no_online_compression isntead. Here are the 5 callers:<br>
<br>
    ✓ texture_error_check (covers glTexImage*D)<br>
    ✓ texsubimage_error_check<br>
    ✓ copytexsubimage_error_check<br>
    ✗ copytexture_error_check (covers glCopyTexImage*D)<br>
    ✗ compressed_subtexture_error_check (covers glCompressedTexSubImage*D)<br>
<br>
I think you need to also update copytexture_error_check, because<br>
glCopyTexImage*D is unable copy pixels to an ASTC texture.<br>
<br>
Other than that, this patch looks good to me. Fix that and it's<br>
Reviewed-by: Chad Versace <<a href="mailto:chad.versace@intel.com">chad.versace@intel.com</a>><br>
</blockquote></div><br></div>