[Mesa-dev] [PATCH 07/19] gallium: add patch_vertices to draw info
Glenn Kennard
glenn.kennard at gmail.com
Sun May 3 03:18:49 PDT 2015
On Sat, 02 May 2015 22:16:31 +0200, Ilia Mirkin <imirkin at alum.mit.edu>
wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
> src/gallium/include/pipe/p_state.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/include/pipe/p_state.h
> b/src/gallium/include/pipe/p_state.h
> index e713a44..449c7f1 100644
> --- a/src/gallium/include/pipe/p_state.h
> +++ b/src/gallium/include/pipe/p_state.h
> @@ -543,6 +543,8 @@ struct pipe_draw_info
> unsigned start_instance; /**< first instance id */
> unsigned instance_count; /**< number of instances */
> + unsigned patch_vertices; /**< the number of vertices per patch */
> +
patch_vertex_count, this field isn't the actual patch vertices data
Don't forget to update patch 10 with the name
> /**
> * For indexed drawing, these fields apply after index lookup.
> */
With above fixed,
Reviewed-by: Glenn Kennard <glenn.kennard at gmail.com>
More information about the mesa-dev
mailing list