summaryrefslogtreecommitdiff
path: root/progs/demos/textures.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-09-13 11:59:24 -0700
committerKeith Whitwell <keithw@vmware.com>2009-09-13 11:59:24 -0700
commit66a7eedaa2f66e5e941cea0303c5ec348e9cc641 (patch)
treecc5f22903fea5f28f68f6f41eed17eaabe13c97a /progs/demos/textures.c
parent86226d5ea186d3fc6013bc40a341e0c0a891de39 (diff)
tgsi: handle some src/dst aliasing in tgsi_sse2.c
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage.
Diffstat (limited to 'progs/demos/textures.c')
0 files changed, 0 insertions, 0 deletions