[Mesa-dev] [PATCH 4/8] draw/gs: fix segfault in glsl-1.50-gs-mismatch-prim-type triangles_adjacency

Dave Airlie airlied at gmail.com
Tue Jun 10 13:14:42 PDT 2014


On 11 June 2014 00:02, Zack Rusin <zackr at vmware.com> wrote:
> That looks wrong.  The total number of verts per buffer is the maximum number of verts that can be output per invocation (primitive_boundary) times number of invocations of geometry shader (num_in_primitives).
>
> It's not maximum number of verts that can be output per invocation (primitive_boundary) times maximum number of primitives output by geometry shader (max_out_prims).
>

Okay so just adding * u_vertices_per_prim(shader->output_primitive);
would suffice?

Dave.


More information about the mesa-dev mailing list