Re: [Mesa-dev] [PATCH] R600/SI: Fix INTERP_CONST.

2013-02-13 Thread Tom Stellard
On Wed, Feb 13, 2013 at 04:34:23PM +0100, Michel Dänzer wrote: > From: Michel Dänzer > > The important fix is that the constant interpolation value is stored in the > parameter slot P0, which is encoded as 2. > > In addition, pass the parameter slot as an operand to V_INTERP_MOV_F32 > instead of

[Mesa-dev] [PATCH] R600/SI: Fix INTERP_CONST.

2013-02-13 Thread Michel Dänzer
From: Michel Dänzer The important fix is that the constant interpolation value is stored in the parameter slot P0, which is encoded as 2. In addition, pass the parameter slot as an operand to V_INTERP_MOV_F32 instead of hardcoding it there, and add a special register class for the parameter slot