[Mesa-dev] [PATCH v2 2/5] gallium: Add new PIPE_CAP_MULTISAMPLED_RENDER_TO_TEXTURE

Marek Olšák maraeo at gmail.com
Fri Nov 30 18:17:14 UTC 2018


On Fri, Nov 30, 2018 at 1:13 PM Kristian Høgsberg <hoegsberg at gmail.com>
wrote:

> On Fri, Nov 16, 2018 at 7:48 PM Marek Olšák <maraeo at gmail.com> wrote:
> >
> > I think the name PIPE_CAP_MULTISAMPLED_RENDER_TO_TEXTURE is slightly
> misleading, because it doesn't imply anything about the OpenGL ES behavior,
> which is that a texture is multisampled in the cache, but single-sampled in
> memory. This should be mentioned somewhere.
>
> Not sure exactly which change you're recommending, but in retrospect,
> I think it would be better to name the cap in term of how it changes
> the gallium API instead of the GLES extension it enables. How about
> PIPE_CAP_SURFACE_SAMPLE_COUNT, to indicate that it allows overriding
> sample counts in pipe_surface?
>

That's an interesting idea, but how does it convey that multisampled
surfaces are never multisampled in memory?

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181130/6596e0e6/attachment.html>


More information about the mesa-dev mailing list