[Mesa-dev] [PATCH] gallivm: fix returning unconditionally from main on TGSI_OPCODE_RET

2013-03-15 Thread sroland
From: Roland Scheidegger srol...@vmware.com If we're in some conditional we must not return, or the code after the condition is never executed. (Probably the same for loops.) This fixes https://bugs.freedesktop.org/show_bug.cgi?id=62357. Note: This is a candidate for the stable branches. ---

Re: [Mesa-dev] [PATCH] gallivm: fix returning unconditionally from main on TGSI_OPCODE_RET

2013-03-15 Thread Brian Paul
On 03/15/2013 12:34 PM, srol...@vmware.com wrote: From: Roland Scheideggersrol...@vmware.com If we're in some conditional we must not return, or the code after the condition is never executed. (Probably the same for loops.) This fixes https://bugs.freedesktop.org/show_bug.cgi?id=62357. Note:

Re: [Mesa-dev] [PATCH] gallivm: fix returning unconditionally from main on TGSI_OPCODE_RET

2013-03-15 Thread Roland Scheidegger
Ok forget about this it still doesn't work correctly. Need to figure out how all the mask business fits together. Roland Am 15.03.2013 19:34, schrieb srol...@vmware.com: From: Roland Scheidegger srol...@vmware.com If we're in some conditional we must not return, or the code after the