Displaying 2 results from an estimated 2 matches for "pipe_bind_index".
2013 Dec 03
0
[Mesa-dev] [PATCH] nouveau: Add lots of comments to the buffer transfer logic
...Forbes <chrisf at ijw.co.nz> wrote:
> + *
> + * Also marks vbo/cb dirty if the buffer's binding
>
> Looks like this stops mid-sentence.
Hah, yeah. I kinda trailed off there, didn't I. Not sure how to finish
that sentence though -- it's if pipe_resource->bind &
PIPE_BIND_INDEX/VERTEX/CONSTANT. Perhaps "if the buffer is bound to
____"? Is there some good term I can use there? Maybe "Also marks
vbo/cb dirty if the buffer is bound to them"?
-ilia
2013 Dec 02
2
[PATCH] nouveau: Add lots of comments to the buffer transfer logic
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
This is my shot at understanding this whole transfer business. The upshot is
that after reading through it and understanding it, the transfer logic does
appear correct if potentially less-than-perfectly-efficient (e.g. one could
keep track of ranges being read/written, etc).
src/gallium/drivers/nouveau/nouveau_buffer.c | 71