[Mesa-dev] [PATCH 06/12] i965/gen7+: Implement fast color clear operation in BLORP.

Eric Anholt eric at anholt.net
Wed May 22 16:32:20 PDT 2013


Paul Berry <stereotype441 at gmail.com> writes:
> diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> index 9d1b91a..657532f 100644
> --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
> @@ -1163,6 +1163,53 @@ intel_miptree_alloc_mcs(struct intel_context *intel,
>  #endif
>  }
>  
> +
> +bool
> +intel_miptree_alloc_non_msrt_mcs(struct intel_context *intel,
> +                                 struct intel_mipmap_tree *mt)
> +{
> +#ifdef I915
> +   assert(!"MCS not supported on i915");
> +#else

New build warning in i915:

intel_mipmap_tree.c: In function 'intel_miptree_alloc_non_msrt_mcs':
intel_mipmap_tree.c:1230:1: warning: control reaches end of non-void function [-Wreturn-type]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130522/88814ac8/attachment.pgp>


More information about the mesa-dev mailing list