Re: [Mesa-dev] [PATCH] panfrost: Cache index buffer bounds

2019-03-26 Thread Alyssa Rosenzweig
> It doesn't, but the inside of your caching function should probably be > using it. Ah, I see, fair point :) Will we want this caching to be moved up to shared Gallium or no? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.free

Re: [Mesa-dev] [PATCH] panfrost: Cache index buffer bounds

2019-03-26 Thread Eric Anholt
Alyssa Rosenzweig writes: >> Can you reuse u_vbuf_get_minmax_index()? > > From a preliminary read, it didn't look like that did caching? It doesn't, but the inside of your caching function should probably be using it. signature.asc Description: PGP signature ___

Re: [Mesa-dev] [PATCH] panfrost: Cache index buffer bounds

2019-03-25 Thread Alyssa Rosenzweig
> Can you reuse u_vbuf_get_minmax_index()? From a preliminary read, it didn't look like that did caching? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] panfrost: Cache index buffer bounds

2019-03-25 Thread Eric Anholt
Alyssa Rosenzweig writes: > This code is probably a wholesale duplication of the corresponding code > in mesa/src/vbo/vbo_minmax_indices.c; we should investigate reusing > that. Can you reuse u_vbuf_get_minmax_index()? signature.asc Description: PGP signature __

[Mesa-dev] [PATCH] panfrost: Cache index buffer bounds

2019-03-24 Thread Alyssa Rosenzweig
This code is probably a wholesale duplication of the corresponding code in mesa/src/vbo/vbo_minmax_indices.c; we should investigate reusing that. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 108 ++-- src/gallium/drivers/panfrost/pan_resource