r600g: add support for geom shaders to r600/r700 chipsets (v2)

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 4 February 2014 18:49 UTC

This is my first attempt at enabling r600/r700 geometry shaders, the basic tests pass on both my rv770 and my rv635,

It requires this kernel patch: http://www.spinics.net/lists/dri-devel/msg52745.html

v2: address Alex comments.

79ea0f4 r600g: add support for geom shaders to r600/r700 chipsets (v2)
src/gallium/drivers/r600/r600_asm.c | 2 +-
src/gallium/drivers/r600/r600_pipe.c | 16 +-
src/gallium/drivers/r600/r600_pipe.h | 3 +
src/gallium/drivers/r600/r600_shader.c | 26 ++-
src/gallium/drivers/r600/r600_state.c | 263 ++++++++++++++++++++++----
src/gallium/drivers/r600/r600_state_common.c | 2 +-
src/gallium/drivers/r600/r600d.h | 50 ++++-
7 files changed, 313 insertions(+), 49 deletions(-)

Upstream: cgit.freedesktop.org


  • Share