Re: [Mesa-dev] [PATCH] u_vbuf: fix vb slot assignment for translated buffers
On 09.10.2015 23:57, Marek Olšák wrote: Do you still have commit access and should somebody else push this? I have to figure out how to get somebody to pay attention to https://bugs.freedesktop.org/show_bug.cgi?id=92281 Feel free to push this in the meantime; otherwise I'll eventually do it once I have access again. Nicolai Marek On Sun, Oct 4, 2015 at 2:19 PM, Marek Olšákwrote: Oh, I forgot this: Reviewed-by: Marek Olšák Marek On Sun, Oct 4, 2015 at 2:03 PM, Marek Olšák wrote: Nice catch. Please add this to the commit message: Cc: mesa-sta...@lists.freedesktop.org It will be automatically picked for 11.0 after you push it. Marek On Sun, Oct 4, 2015 at 12:09 PM, Nicolai Hähnle wrote: Vertex attributes of different categories (constant/per-instance/ per-vertex) go into different buffers for translation, and this is now properly reflected in the vertex buffers passed to the driver. Fixes e.g. piglit's point-vertex-id divisor test. --- src/gallium/auxiliary/util/u_vbuf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/util/u_vbuf.c b/src/gallium/auxiliary/util/u_vbuf.c index 3d2193c..b31ada1 100644 --- a/src/gallium/auxiliary/util/u_vbuf.c +++ b/src/gallium/auxiliary/util/u_vbuf.c @@ -544,6 +544,7 @@ u_vbuf_translate_find_free_vb_slots(struct u_vbuf *mgr, index = ffs(unused_vb_mask) - 1; fallback_vbs[type] = index; + unused_vb_mask &= ~(1 << index); /*printf("found slot=%i for type=%i\n", index, type);*/ } } -- 2.1.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] u_vbuf: fix vb slot assignment for translated buffers
On Mon, Oct 12, 2015 at 7:10 AM, Nicolai Hähnlewrote: > On 09.10.2015 23:57, Marek Olšák wrote: >> >> Do you still have commit access and should somebody else push this? > > > I have to figure out how to get somebody to pay attention to > https://bugs.freedesktop.org/show_bug.cgi?id=92281 > > Feel free to push this in the meantime; otherwise I'll eventually do it once > I have access again. You should be all set. Alex > > Nicolai > > >> >> Marek >> >> On Sun, Oct 4, 2015 at 2:19 PM, Marek Olšák wrote: >>> >>> Oh, I forgot this: >>> >>> Reviewed-by: Marek Olšák >>> >>> Marek >>> >>> On Sun, Oct 4, 2015 at 2:03 PM, Marek Olšák wrote: Nice catch. Please add this to the commit message: Cc: mesa-sta...@lists.freedesktop.org It will be automatically picked for 11.0 after you push it. Marek On Sun, Oct 4, 2015 at 12:09 PM, Nicolai Hähnle wrote: > > Vertex attributes of different categories (constant/per-instance/ > per-vertex) go into different buffers for translation, and this is now > properly reflected in the vertex buffers passed to the driver. > > Fixes e.g. piglit's point-vertex-id divisor test. > --- > src/gallium/auxiliary/util/u_vbuf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/gallium/auxiliary/util/u_vbuf.c > b/src/gallium/auxiliary/util/u_vbuf.c > index 3d2193c..b31ada1 100644 > --- a/src/gallium/auxiliary/util/u_vbuf.c > +++ b/src/gallium/auxiliary/util/u_vbuf.c > @@ -544,6 +544,7 @@ u_vbuf_translate_find_free_vb_slots(struct u_vbuf > *mgr, > >index = ffs(unused_vb_mask) - 1; >fallback_vbs[type] = index; > + unused_vb_mask &= ~(1 << index); >/*printf("found slot=%i for type=%i\n", index, type);*/ > } > } > -- > 2.1.4 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev > > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] u_vbuf: fix vb slot assignment for translated buffers
Do you still have commit access and should somebody else push this? Marek On Sun, Oct 4, 2015 at 2:19 PM, Marek Olšákwrote: > Oh, I forgot this: > > Reviewed-by: Marek Olšák > > Marek > > On Sun, Oct 4, 2015 at 2:03 PM, Marek Olšák wrote: >> Nice catch. Please add this to the commit message: >> >> Cc: mesa-sta...@lists.freedesktop.org >> >> It will be automatically picked for 11.0 after you push it. >> >> Marek >> >> On Sun, Oct 4, 2015 at 12:09 PM, Nicolai Hähnle wrote: >>> Vertex attributes of different categories (constant/per-instance/ >>> per-vertex) go into different buffers for translation, and this is now >>> properly reflected in the vertex buffers passed to the driver. >>> >>> Fixes e.g. piglit's point-vertex-id divisor test. >>> --- >>> src/gallium/auxiliary/util/u_vbuf.c | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/src/gallium/auxiliary/util/u_vbuf.c >>> b/src/gallium/auxiliary/util/u_vbuf.c >>> index 3d2193c..b31ada1 100644 >>> --- a/src/gallium/auxiliary/util/u_vbuf.c >>> +++ b/src/gallium/auxiliary/util/u_vbuf.c >>> @@ -544,6 +544,7 @@ u_vbuf_translate_find_free_vb_slots(struct u_vbuf *mgr, >>> >>> index = ffs(unused_vb_mask) - 1; >>> fallback_vbs[type] = index; >>> + unused_vb_mask &= ~(1 << index); >>> /*printf("found slot=%i for type=%i\n", index, type);*/ >>>} >>> } >>> -- >>> 2.1.4 >>> >>> ___ >>> mesa-dev mailing list >>> mesa-dev@lists.freedesktop.org >>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [PATCH] u_vbuf: fix vb slot assignment for translated buffers
Vertex attributes of different categories (constant/per-instance/ per-vertex) go into different buffers for translation, and this is now properly reflected in the vertex buffers passed to the driver. Fixes e.g. piglit's point-vertex-id divisor test. --- src/gallium/auxiliary/util/u_vbuf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/util/u_vbuf.c b/src/gallium/auxiliary/util/u_vbuf.c index 3d2193c..b31ada1 100644 --- a/src/gallium/auxiliary/util/u_vbuf.c +++ b/src/gallium/auxiliary/util/u_vbuf.c @@ -544,6 +544,7 @@ u_vbuf_translate_find_free_vb_slots(struct u_vbuf *mgr, index = ffs(unused_vb_mask) - 1; fallback_vbs[type] = index; + unused_vb_mask &= ~(1 << index); /*printf("found slot=%i for type=%i\n", index, type);*/ } } -- 2.1.4 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] u_vbuf: fix vb slot assignment for translated buffers
Nice catch. Please add this to the commit message: Cc: mesa-sta...@lists.freedesktop.org It will be automatically picked for 11.0 after you push it. Marek On Sun, Oct 4, 2015 at 12:09 PM, Nicolai Hähnlewrote: > Vertex attributes of different categories (constant/per-instance/ > per-vertex) go into different buffers for translation, and this is now > properly reflected in the vertex buffers passed to the driver. > > Fixes e.g. piglit's point-vertex-id divisor test. > --- > src/gallium/auxiliary/util/u_vbuf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/gallium/auxiliary/util/u_vbuf.c > b/src/gallium/auxiliary/util/u_vbuf.c > index 3d2193c..b31ada1 100644 > --- a/src/gallium/auxiliary/util/u_vbuf.c > +++ b/src/gallium/auxiliary/util/u_vbuf.c > @@ -544,6 +544,7 @@ u_vbuf_translate_find_free_vb_slots(struct u_vbuf *mgr, > > index = ffs(unused_vb_mask) - 1; > fallback_vbs[type] = index; > + unused_vb_mask &= ~(1 << index); > /*printf("found slot=%i for type=%i\n", index, type);*/ >} > } > -- > 2.1.4 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] u_vbuf: fix vb slot assignment for translated buffers
Oh, I forgot this: Reviewed-by: Marek OlšákMarek On Sun, Oct 4, 2015 at 2:03 PM, Marek Olšák wrote: > Nice catch. Please add this to the commit message: > > Cc: mesa-sta...@lists.freedesktop.org > > It will be automatically picked for 11.0 after you push it. > > Marek > > On Sun, Oct 4, 2015 at 12:09 PM, Nicolai Hähnle wrote: >> Vertex attributes of different categories (constant/per-instance/ >> per-vertex) go into different buffers for translation, and this is now >> properly reflected in the vertex buffers passed to the driver. >> >> Fixes e.g. piglit's point-vertex-id divisor test. >> --- >> src/gallium/auxiliary/util/u_vbuf.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/src/gallium/auxiliary/util/u_vbuf.c >> b/src/gallium/auxiliary/util/u_vbuf.c >> index 3d2193c..b31ada1 100644 >> --- a/src/gallium/auxiliary/util/u_vbuf.c >> +++ b/src/gallium/auxiliary/util/u_vbuf.c >> @@ -544,6 +544,7 @@ u_vbuf_translate_find_free_vb_slots(struct u_vbuf *mgr, >> >> index = ffs(unused_vb_mask) - 1; >> fallback_vbs[type] = index; >> + unused_vb_mask &= ~(1 << index); >> /*printf("found slot=%i for type=%i\n", index, type);*/ >>} >> } >> -- >> 2.1.4 >> >> ___ >> mesa-dev mailing list >> mesa-dev@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev