On 11/18/2011 04:51 PM, Chad Versace wrote:
> Add two fields to intel_renderbuffer:
>     mt_level
>     mt_layer
> 
> Multiple renderbuffers may simultaneously wrap a single texture and each
> provide a different view into that texture. [Consider
> glFramebufferTextureLayer()].  The new fields indicate which slice of the
> miptree is wrapped by the renderbuffer.
> 
> The buffer resolve operations, to be introduced in the future, require
> these fields in order to resolve the correct slice in the miptree.
> 
> v2:
>    - [kwg] Replace bizarre condition `CubeMapFace > 0` with the more
>      sensible `Target == GL_TEXTURE_CUBE_MAP`.
> 
> CC: Kenneth Graunke <kenn...@whitecape.org>
> Reviewed-by: Eric Anholt <e...@anholt.net>
> Signed-off-by: Chad Versace <chad.vers...@linux.intel.com>

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to