diff options
author | Roland Scheidegger <sroland@vmware.com> | 2016-01-29 02:49:22 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2016-02-02 05:58:19 +0100 |
commit | 5171ec9ca92ce489e32c227ae3b4b6df621bbf40 (patch) | |
tree | 7474f33031da46893c0eade1564a7c6cc034551f /src/gallium/auxiliary/gallivm/lp_bld_pack.h | |
parent | dc16086e3b616f767ab31c86505502c4df7739ac (diff) | |
download | external_mesa3d-5171ec9ca92ce489e32c227ae3b4b6df621bbf40.zip external_mesa3d-5171ec9ca92ce489e32c227ae3b4b6df621bbf40.tar.gz external_mesa3d-5171ec9ca92ce489e32c227ae3b4b6df621bbf40.tar.bz2 |
gallivm: add PK2H/UP2H support
Add support for these opcodes, the conversion functions were already
there albeit need some new packing stuff.
Just like the tgsi version, piglit won't like it for all the same
reasons, so it's disabled (UP2H passes piglit arb_shader_language_packing
tests, albeit since PK2H won't due those rounding differences I don't
know if that one works or not as the piglit test is rather difficult to
deal with).
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_pack.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_pack.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_pack.h b/src/gallium/auxiliary/gallivm/lp_bld_pack.h index 7cede35..367fba1 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_pack.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_pack.h @@ -58,6 +58,11 @@ lp_build_interleave2(struct gallivm_state *gallivm, LLVMValueRef b, unsigned lo_hi); +LLVMValueRef +lp_build_uninterleave1(struct gallivm_state *gallivm, + unsigned num_elems, + LLVMValueRef a, + unsigned lo_hi); void lp_build_unpack2(struct gallivm_state *gallivm, |