<div dir="ltr">On 22 May 2013 16:32, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>></span> wrote:<br><div class="gmail_extra"><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>
> diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c<br>
> index 9d1b91a..657532f 100644<br>
> --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c<br>
> +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c<br>
> @@ -1163,6 +1163,53 @@ intel_miptree_alloc_mcs(struct intel_context *intel,<br>
>  #endif<br>
>  }<br>
><br>
> +<br>
> +bool<br>
> +intel_miptree_alloc_non_msrt_mcs(struct intel_context *intel,<br>
> +                                 struct intel_mipmap_tree *mt)<br>
> +{<br>
> +#ifdef I915<br>
> +   assert(!"MCS not supported on i915");<br>
> +#else<br>
<br>
</div>New build warning in i915:<br>
<br>
intel_mipmap_tree.c: In function 'intel_miptree_alloc_non_msrt_mcs':<br>
intel_mipmap_tree.c:1230:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
</blockquote></div><br></div><div class="gmail_extra">Whoops, you're right.  I didn't notice because I was doing a debug build.  Thanks.<br></div></div>