[Mesa-dev] [PATCH 0/5] gallium: add tessellation basics

Ilia Mirkin imirkin at alum.mit.edu
Sat Jul 19 07:59:00 PDT 2014


This just adds the names of things, extends lists, adds a few function
entrypoints. It's unlikely that this is everything that will need to be done
to the gallium, interface, but I can't imagine a tessellation implementation
without these things. So I thought I'd send it out before starting to polish
the rest of my patches which rely on these names/concepts/etc.

The only big thing missing here that I'm aware of is passing the patch size
and default tessouter/inner settings. I was thinking maybe just a
set_tess_state() sort of thing. If you can think of other aspects of the
interface that I've missed, please point them out.

Ilia Mirkin (5):
  gallium: add tessellation shader types
  gallium: add new PATCHES primitive type
  gallium: add new semantics for tessellation
  gallium: add interfaces for controlling tess program state
  gallium: add tessellation shader properties

 src/gallium/auxiliary/tgsi/tgsi_info.c     |  4 ++
 src/gallium/auxiliary/tgsi/tgsi_strings.c  | 18 +++++++--
 src/gallium/auxiliary/tgsi/tgsi_strings.h  |  2 +-
 src/gallium/docs/source/tgsi.rst           | 64 ++++++++++++++++++++++++++++++
 src/gallium/include/pipe/p_context.h       | 10 +++++
 src/gallium/include/pipe/p_defines.h       | 16 ++++++--
 src/gallium/include/pipe/p_shader_tokens.h | 17 ++++++--
 7 files changed, 121 insertions(+), 10 deletions(-)

-- 
1.8.5.5



More information about the mesa-dev mailing list