OSDN Git Service

gallivm: add major integer opcodes to the tgsi action handler
authorDave Airlie <airlied@redhat.com>
Mon, 6 Feb 2012 16:32:59 +0000 (16:32 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Feb 2012 15:56:18 +0000 (15:56 +0000)
commit579ccae73d29211c9f5c01ba527e1743ea39c94e
tree7af95a5962825ef5c4c56b5ae58f3b5f20c7ba7a
parente2a2b33544176a73e44aa7292dbdd1d0d0467394
gallivm: add major integer opcodes to the tgsi action handler

This adds support for all the opcodes needed for native integer
support with GLSL 1.20 enabled, and some of the ones for GLSL1.30
support.

I've split them between non-cpu and cpu along the same lines
Tom's code did for the other ones I think, but I'm open to review
on which ones should go where.

With instance ids fixed I get no regressions on my box here
with LLVM 2.8, will test with later LLVMs as well.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c