Re: [Mesa-dev] [PATCH] nvc0: handle user buffers without any data

2018-10-08 Thread Ilia Mirkin
I have a recollection of wanting to do something similar in the past. However I also have a record of the test passing before (circa 2015). OTOH we do things differently on GM107+, so ... who knows. My guess is that it was the splitting out of is_user_buffer changed how the code behaved somehow - p

[Mesa-dev] [PATCH] nvc0: handle user buffers without any data

2018-10-08 Thread Rhys Perry
Fixes crash in piglit's gl-3.1-vao-broken-attrib. Signed-off-by: Rhys Perry --- src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c