[Mesa-dev] [PATCH 07/19] gallium: add patch_vertices to draw info

Marek Olšák maraeo at gmail.com
Sun May 10 09:11:12 PDT 2015


On Sun, May 3, 2015 at 12:18 PM, Glenn Kennard <glenn.kennard at gmail.com> wrote:
> 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

While we're at renaming, "vertices_per_patch" sounds better.

Marek


More information about the mesa-dev mailing list