diff options
author | Rob Clark <[email protected]> | 2014-04-09 09:01:32 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-04-09 10:59:18 -0400 |
commit | 9604e31dc9b43529a17b823b9cb9ddb7492bb317 (patch) | |
tree | 10d574c338db8ba8abb98498fee609f6eaf7c3c1 /src/gallium/auxiliary/pipe-loader | |
parent | 4d641803e8f8763dcf4a262c6bcf2d1ba0431ca2 (diff) |
freedreno/a3xx/compiler: fix neg mov's
create_mov() was fixed up to handle neg/abs properly for interal mov's,
using absneg.f, but forgot to fix it for TGSI MOV's. The problem with
using add.f to handle negated mov's is that we can only take a single
const reg src. So:
MOV TEMP[n], -CONST[m]
would turn into:
add.f Rdst, (neg)CONST[m], 0.0
which would not work. Anyways, just remove the extra code and always
use create_mov() which DTRT.
This fixes piglit vs-op-neg-int test.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader')
0 files changed, 0 insertions, 0 deletions