Re: [Mesa-dev] [PATCH] virgl: don't send a shader create with no data.

2018-08-28 Thread Erik Faye-Lund
On on., aug. 29, 2018 at 12:34 AM, Dave Airlie wrote: From: Dave Airlie This fixes the situation where we'd send a shader with just the header and no data. piglit/glsl-max-varyings test was causing this to happen, and the renderer fix was breaking it. --- src/gallium/drivers/virgl/virgl_e

[Mesa-dev] [PATCH] virgl: don't send a shader create with no data. (v2)

2018-08-28 Thread Dave Airlie
From: Dave Airlie This fixes the situation where we'd send a shader with just the header and no data. piglit/glsl-max-varyings test was causing this to happen, and the renderer fix was breaking it. v2: drop fprintf --- src/gallium/drivers/virgl/virgl_encode.c | 2 +- 1 file changed, 1 insertio

[Mesa-dev] [PATCH] virgl: don't send a shader create with no data.

2018-08-28 Thread Dave Airlie
From: Dave Airlie This fixes the situation where we'd send a shader with just the header and no data. piglit/glsl-max-varyings test was causing this to happen, and the renderer fix was breaking it. --- src/gallium/drivers/virgl/virgl_encode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion