diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-05-09 22:31:18 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-05-12 20:40:31 +0100 |
commit | a09e46c72461183c879d8472b44fe740ecc79b9f (patch) | |
tree | fd3d9e01ba34dcd26173bc801fb2e9574ce80c51 /src/gallium/auxiliary/gallivm/lp_bld_arit.h | |
parent | 648c9d52477e410da374dbc97e3d68f599b2771f (diff) |
gallivm: Use a more compact approach for lp_build_broadcast_scalar().
It produces exactly the same machine code, but it cuts 5% of the
number of instructions generated for a typical shader.
Also, preserve the scalar when length is 1.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_arit.h')
0 files changed, 0 insertions, 0 deletions