For the first two points, a partial implementation is already done here: https://github.com/fabe3k/mesa/commits/tessellation
This predates the addition of ARB_separate_shader_objects, which has some interactions. There are probably also plenty of rough edges, but it should give you enough to get started with the gallium/tgsi parts. On Wed, Jun 11, 2014 at 8:45 AM, Aditya Avinash <adityaavina...@gmail.com> wrote: > Hi, > Thank you very much!! > > On Mon, Jun 9, 2014 at 10:19 AM, Marek Olšák <mar...@gmail.com> wrote: >> >> This is probably one of the most difficult tasks. You'll need to: >> >> 1) Add support to Mesa core - new shader stages and the new OpenGL >> functions and queries (src/mesa/main) > > > Ya. This one is straight forward. The added Tessellation stage should be > added to the OpenGL pipeline. > >> >> 2) Add support to the GLSL compiler (src/glsl) > > > Ok! > >> >> 3) Add support to the Gallium interface and TGSI >> (src/gallium/include/pipe) and supporting code (src/gallium/auxiliary) >> > > Can you explain a bit more? > >> >> 4) Add support to the Mesa state tracker (src/mesa/state_tracker), >> which translates everything from Mesa core and GLSL IR to Gallium and >> TGSI, respectively. > > > Ok! > >> >> 5) Add support to either r600g or radeonsi. For radeonsi, implement >> the Gallium interface and program all the hardware registers >> correctly. On the shader side, add support to the TGSI->LLVM IR >> converter. (src/gallium/drivers/radeonsi) You might also need some >> small changes in the LLVM shader backend, not sure about that. >> > > Ok! > >> >> 6) Add a lot of of piglit tests. >> > Ya! >> >> Marek >> >> >> On Sun, Jun 8, 2014 at 2:05 PM, Aditya Avinash <adityaavina...@gmail.com> >> wrote: >> > Hi, >> > I was looking at RadeonFeature. It shows that Tessellation stage is >> > "TODO". >> > What should I do to pick it? I am new to Mesa. Can you help me with some >> > documentation which is useful for me to accomplish the task? >> > Thank you! >> > >> > -- >> > Regards, >> > Aditya Atluri. >> > >> > _______________________________________________ >> > mesa-dev mailing list >> > mesa-dev@lists.freedesktop.org >> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev >> > > > > I have been reading about the Tessellation shader and proprietary OpenGL API > present at opengl extensions page. > Where should I get started? > Thank you very much. > > -- > Regards, > Aditya Atluri, > USA. > > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev