[Mesa-dev] [PATCH 7/7] radeonsi: Enable ARB_framebuffer_no_attachments

Ilia Mirkin imirkin at alum.mit.edu
Wed Feb 3 12:09:13 UTC 2016


I've sent a few tests to cover samples, but haven't quite been able to work
out the implication of layered vs non.
On Feb 3, 2016 4:18 AM, "Marek Olšák" <maraeo at gmail.com> wrote:

> Actually, it seems enough, but it's hard to tell without tests.
>
> Marek
>
> On Wed, Feb 3, 2016 at 10:16 AM, Marek Olšák <maraeo at gmail.com> wrote:
> > I think this is not enough. Do we even have layered rendering and
> > sample shading tests with no attachments?
> >
> > Marek
> >
> > On Sun, Jan 31, 2016 at 7:25 AM, Edward O'Callaghan
> > <eocallaghan at alterapraxis.com> wrote:
> >> Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
> >> ---
> >>  src/gallium/drivers/radeonsi/si_pipe.c | 4 +++-
> >>  1 file changed, 3 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/src/gallium/drivers/radeonsi/si_pipe.c
> b/src/gallium/drivers/radeonsi/si_pipe.c
> >> index f219bc4..ffc25fb 100644
> >> --- a/src/gallium/drivers/radeonsi/si_pipe.c
> >> +++ b/src/gallium/drivers/radeonsi/si_pipe.c
> >> @@ -354,7 +354,6 @@ static int si_get_param(struct pipe_screen*
> pscreen, enum pipe_cap param)
> >>         case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT:
> >>         case PIPE_CAP_GENERATE_MIPMAP:
> >>         case PIPE_CAP_STRING_MARKER:
> >> -       case PIPE_CAP_MAX_FRAMEBUFFER_LAYERS:
> >>                 return 0;
> >>
> >>         case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS:
> >> @@ -394,6 +393,9 @@ static int si_get_param(struct pipe_screen*
> pscreen, enum pipe_cap param)
> >>                 /* textures support 8192, but layered rendering
> supports 2048 */
> >>                 return 2048;
> >>
> >> +       case PIPE_CAP_MAX_FRAMEBUFFER_LAYERS:
> >> +               return 2048;
> >> +
> >>         /* Render targets. */
> >>         case PIPE_CAP_MAX_RENDER_TARGETS:
> >>                 return 8;
> >> --
> >> 2.5.0
> >>
> >> _______________________________________________
> >> mesa-dev mailing list
> >> mesa-dev at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160203/215518e8/attachment.html>


More information about the mesa-dev mailing list