[Mesa-dev] [PATCH] vbo: set draw_id
Miklós Máté
mtmkls at gmail.com
Fri Aug 26 12:57:38 UTC 2016
On 08/26/2016 02:53 PM, Brian Paul wrote:
> On 08/26/2016 06:48 AM, Miklós Máté wrote:
>> Fixes conditional jump depending on uninitialized value
>> in si_state_draw.c:593
>>
>> Cc: <mesa-stable at lists.freedesktop.org>
>>
>> Signed-off-by: Miklós Máté <mtmkls at gmail.com>
>> ---
>> src/mesa/vbo/vbo_exec_array.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/src/mesa/vbo/vbo_exec_array.c
>> b/src/mesa/vbo/vbo_exec_array.c
>> index 1997039..46543f8 100644
>> --- a/src/mesa/vbo/vbo_exec_array.c
>> +++ b/src/mesa/vbo/vbo_exec_array.c
>> @@ -778,6 +778,7 @@ vbo_validated_drawrangeelements(struct gl_context
>> *ctx, GLenum mode,
>> prim[0].basevertex = basevertex;
>> prim[0].num_instances = numInstances;
>> prim[0].base_instance = baseInstance;
>> + prim[0].draw_id = 0;
>>
>> /* Need to give special consideration to rendering a range of
>> * indices starting somewhere above zero. Typically the
>>
>
> Reviewed-by: Brian Paul <brianp at vmware.com>
>
> Need me to push this for you?
>
Yes, thank you.
MM
More information about the mesa-dev
mailing list