[Mesa-dev] [PATCH] intel: Track the miptree layer wrapped by a renderbuffer [v2]
Kenneth Graunke
kenneth at whitecape.org
Fri Nov 18 16:58:43 PST 2011
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 <kenneth at whitecape.org>
> Reviewed-by: Eric Anholt <eric at anholt.net>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev
mailing list