Re: [Mesa-dev] [PATCH] i965/fs: Use the correct base_mrf for spilling pairs in SIMD8

2014-10-02 Thread Matt Turner
On Thu, Oct 2, 2014 at 4:16 PM, Jason Ekstrand wrote: > Before, we were hard-coding the base_mrf based on dispatch width not number > of registers spilled at a time. This caused us to emit instructions with a > base_mrf or 14 and a mlen of 3 so we used the magical non-existant m16 > register. Th

[Mesa-dev] [PATCH] i965/fs: Use the correct base_mrf for spilling pairs in SIMD8

2014-10-02 Thread Jason Ekstrand
Before, we were hard-coding the base_mrf based on dispatch width not number of registers spilled at a time. This caused us to emit instructions with a base_mrf or 14 and a mlen of 3 so we used the magical non-existant m16 register. This fixes the problem. --- src/mesa/drivers/dri/i965/brw_fs_reg