[Mesa-dev] [PATCH 1/2] gallium: add scalar isa cap

Christian Gmeiner christian.gmeiner at gmail.com
Fri Jun 8 09:08:53 UTC 2018


Am Fr., 8. Juni 2018 um 11:06 Uhr schrieb Roland Scheidegger
<sroland at vmware.com>:
>
> Should probably fill in all drivers...
> softpipe/llvmpipe are scalar, svga - well that would depend but likely
> scalar in the end too...
>

Thanks - will added in V2.

> Roland
>
> Am 07.06.2018 um 21:55 schrieb Ilia Mirkin:
> > On Thu, Jun 7, 2018 at 3:32 PM, Christian Gmeiner
> > <christian.gmeiner at gmail.com> wrote:
> >> diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
> >> index a77f70e6bb..f7566958f9 100644
> >> --- a/src/gallium/drivers/nouveau/nv30/nv30_screen.c
> >> +++ b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
> >> @@ -95,6 +95,7 @@ nv30_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
> >>     case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:
> >>     case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
> >>     case PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION:
> >> +   case PIPE_CAP_SCALAR_ISA:
> >
> > Actually nv30 is vector. Please add it to the "unsupported" list. (Not
> > that it'll really matter, but no reason not to have it marked
> > correctly.)
> >
> >>        return 1;
> >>     /* nv35 capabilities */
> >>     case PIPE_CAP_DEPTH_BOUNDS_TEST:
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-dev&data=02%7C01%7Csroland%40vmware.com%7Cbab21413c5de4b181a0c08d5ccb0a5ea%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C1%7C636639981451478916&sdata=RJbWtU053yLZ2nkPwv30bP%2BW9cJC3YlnyCdIgvJceb0%3D&reserved=0
> >
>


-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info


More information about the mesa-dev mailing list