[Mesa-dev] [PATCH 3/5] nvc0: make sure gmt programs are correctly validated

Ilia Mirkin imirkin at alum.mit.edu
Mon Dec 14 08:03:50 PST 2015


On Mon, Dec 14, 2015 at 11:02 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
>
>
> On 12/14/2015 04:04 PM, Ilia Mirkin wrote:
>>
>> Instead take the return value and stick it into the if below.
>> Returning early from these functions isn't something we generally want
>> to do.
>
>
> We already return at the same point for vertex programs, but I can
> definitely move this below.

If you return, whatever was set before stays. That's not great.


More information about the mesa-dev mailing list