diff options
author | Rob Clark <[email protected]> | 2013-08-20 13:57:22 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-08-24 13:23:32 -0400 |
commit | 7eeab2434499da0719cca3440f56641e34e4fff1 (patch) | |
tree | bd3414741be9cdc0adfaef7107d449bd6949aa25 /src/gallium/drivers/llvmpipe/lp_fence.h | |
parent | 2effac5a67d8ed91802f96d2c59c0a5e1574e3f6 (diff) |
freedreno/a3xx/compiler: cat4 cannot use const reg as src
Category 4 instructions (rsq, rcp, sqrt, etc) seem to be unable to take
a const register as src. In these cases we need to move the src to a
temporary gpr first.
This is the second case of such a restriction, where the instruction
encoding appears to support a const src, but in fact the hw appears to
ignore that bit. So split things out into a helper that can be re-used
for any instructions which have this limitation.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_fence.h')
0 files changed, 0 insertions, 0 deletions