summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/freedreno/freedreno_draw.c
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2013-08-20 13:57:22 -0400
committerRob Clark <robclark@freedesktop.org>2013-08-24 13:23:32 -0400
commit7eeab2434499da0719cca3440f56641e34e4fff1 (patch)
treebd3414741be9cdc0adfaef7107d449bd6949aa25 /src/gallium/drivers/freedreno/freedreno_draw.c
parent2effac5a67d8ed91802f96d2c59c0a5e1574e3f6 (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 <robclark@freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_draw.c')
0 files changed, 0 insertions, 0 deletions