Re: [Mesa-dev] [PATCH] gallivm: clean up passing derivatives around

2013-03-11 Thread Jose Fonseca
I only skimmed, but looks good in principle. Jose - Original Message - > From: Roland Scheidegger > > Previously, the derivatives were calculated and passed in a packed form > to the sample code (for implicit derivatives, explicit derivatives were > packed to the same format). > There's

[Mesa-dev] [PATCH] gallivm: clean up passing derivatives around

2013-03-08 Thread sroland
From: Roland Scheidegger Previously, the derivatives were calculated and passed in a packed form to the sample code (for implicit derivatives, explicit derivatives were packed to the same format). There's several reasons why this wasn't such a good idea: 1) the derivatives may not even be needed