Mesa (master): gallium/llvm: implement geometry shaders in the llvm paths

Zack Rusin zack at kemper.freedesktop.org
Thu Mar 28 00:07:08 UTC 2013


Module: Mesa
Branch: master
Commit: e96f4e3b853ff5fe4d927c69695c0b5f1966d448
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e96f4e3b853ff5fe4d927c69695c0b5f1966d448

Author: Zack Rusin <zackr at vmware.com>
Date:   Mon Feb 18 04:00:19 2013 -0800

gallium/llvm: implement geometry shaders in the llvm paths

This commits implements code generation of the geometry shaders in
the SOA paths. All the code is there but bugs are likely present.

Signed-off-by: Zack Rusin <zackr at vmware.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: José Fonseca <jfonseca at vmware.com>

---

 src/gallium/auxiliary/draw/draw_context.c          |   17 +-
 src/gallium/auxiliary/draw/draw_context.h          |    5 +
 src/gallium/auxiliary/draw/draw_gs.c               |  300 ++++++++++-
 src/gallium/auxiliary/draw/draw_gs.h               |   35 ++-
 src/gallium/auxiliary/draw/draw_llvm.c             |  567 ++++++++++++++++++--
 src/gallium/auxiliary/draw/draw_llvm.h             |  161 ++++++-
 .../draw/draw_pt_fetch_shade_pipeline_llvm.c       |   75 +++
 src/gallium/auxiliary/gallivm/lp_bld_tgsi.h        |   27 +-
 src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c    |  173 ++++++-
 src/gallium/drivers/llvmpipe/lp_state_fs.c         |    4 +-
 10 files changed, 1285 insertions(+), 79 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=e96f4e3b853ff5fe4d927c69695c0b5f1966d448



More information about the mesa-commit mailing list