Tessellation control and evaluation shaders

32 views
Skip to first unread message

Adam Konneker

unread,
Jul 31, 2014, 12:35:23 AM7/31/14
to go...@googlegroups.com
Hello All,


I'm currently going through the OpenGL superbible 6th ed. and porting all of the c++ examples to go using go-gl. I've hit a snag on the 6th example, namely that the GL_TESS_CONTROL_SHADER and GL_TESS_EVALUATION_SHADER types are not defined in gl_defs.go. Is there a reason why tessellation shaders aren't supported?

Thanks,
Adam K

Adam Konneker

unread,
Aug 1, 2014, 9:25:32 PM8/1/14
to go...@googlegroups.com, adam.m....@gmail.com
How much work would be needed to make it work with the glew-1.10 branch? Is it just a matter of adding in the constants for the new shader types, or is there something else that needs to be done?

On Thursday, July 31, 2014 8:30:27 PM UTC-4, Jrago...@gmail.com wrote:
I believe someone raised this issue before on the issue tracker. I believe the issue may have been that go-gl/gl needs to bump up the GLEW version to make it work.

Adam Konneker

unread,
Aug 4, 2014, 12:30:25 AM8/4/14
to go...@googlegroups.com, adam.m....@gmail.com
Right you are, Issue 131

So it turns out that if one switches to the glew-1.10 branch and adds in the constants, it works quite nicely. 

So that's 6 examples down, 70-ish to go.

I'm also a rank novice when it comes to github, but it might be a good idea to make a pull request to add in these constants at some point. When will the glew-1.10 branch be merged in to the main branch? The discussion in issue 131 seems to indicate that glew will be updated when go is updated next. Is that still the plan?



On Saturday, August 2, 2014 2:10:53 AM UTC-4, Jrago...@gmail.com wrote:
I recall the issue being that someone added the constants and it still didn't work, as per my last post, I'm fairly sure the problem was traced down to absolutely needing a higher GLEW version. I'll try and find the issue.


--
You received this message because you are subscribed to the Google Groups "go-gl OpenGL libraries for go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-gl+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages