[Mesa-dev] [PATCH 11/11] program: Remove extra reference_program()

Miklós Máté mtmkls at gmail.com
Thu Feb 25 20:31:20 UTC 2016


I noticed that this has been reviewed, but has not been committed. Does 
it require further action from me, or was it just forgotten?

MM

On 02/03/2016 10:06 AM, Marek Olšák wrote:
> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
>
> Marek
>
> On Wed, Dec 16, 2015 at 12:05 AM, Miklós Máté <mtmkls at gmail.com> wrote:
>> It was already done in get_mesa_program()
>> ---
>>   src/mesa/program/ir_to_mesa.cpp | 2 --
>>   1 file changed, 2 deletions(-)
>>
>> diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
>> index 8f58f3e..a28cf97 100644
>> --- a/src/mesa/program/ir_to_mesa.cpp
>> +++ b/src/mesa/program/ir_to_mesa.cpp
>> @@ -2938,8 +2938,6 @@ _mesa_ir_link_shader(struct gl_context *ctx, struct gl_shader_program *prog)
>>         if (linked_prog) {
>>            _mesa_copy_linked_program_data((gl_shader_stage) i, prog, linked_prog);
>>
>> -        _mesa_reference_program(ctx, &prog->_LinkedShaders[i]->Program,
>> -                                linked_prog);
>>            if (!ctx->Driver.ProgramStringNotify(ctx,
>>                                                 _mesa_shader_stage_to_program(i),
>>                                                 linked_prog)) {
>> --
>> 2.6.4
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list