gallivm: handle SAMPLE opcode in aos sampling

Graphics / Mesa 3D Graphics Library / Mesa - Roland Scheidegger [vmware.com] - 15 September 2014 20:50 UTC

This is just a very limited version, in particular sampler and sampler view index must be the same. It cannot handle any modifiers neither. Works much the same as soa version otherwise, to figure out the target we need to store the sampler view dcls. While here, also handle (no-op) RET and get rid of a couple bogus deprecated comments.

145fef9 gallivm: handle SAMPLE opcode in aos sampling
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h | 2 +
src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c | 61 ++++++++++++++++++-----
2 files changed, 50 insertions(+), 13 deletions(-)

Upstream: cgit.freedesktop.org


  • Share