• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 43 44 45 46 47 ... 117 Next »

[Linux, OpenGL 4] How are you devs setting/using OpenGL?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[Linux, OpenGL 4] How are you devs setting/using OpenGL?
03-25-2014, 09:42 AM
#5
Katastic Voyage
Unregistered
 
Are shaders being constructed outside of CompileShader() somehow? I modified it to add a tessellation stage but I've been scratching my head trying to figure out why they compile and link fine, but they affect nothing.

That is until I output the values every time SHADER::Bind was called and found 200-250 shader programs are being made before even touching CompileShader, and the only one used in Mario Kart Double Dash (my game for testing) is the font rasturizer.

glUseProgram(glprogid);

is being called where glprogid is "1" through "201" before it hits the first CompileShader.

What's going on there? I tried to find another place producing shaders but I can't find anything calling glAttachShader or glLinkProgram.

I need to figure out where the main drawing programs are being called so I can latch onto them to enable GL_PATCHES instead of GL_TRIANGLES/GL_TRIANGLE_STRIPS. So far, running with GL_PATCHES is drawing nothing but GL_POINTS. Which produces an interesting effect...

http://i.imgur.com/tnhx6CN.png
Reply
« Next Oldest | Next Newest »


Messages In This Thread
[Linux, OpenGL 4] How are you devs setting/using OpenGL? - Katastic Voyage - 03-24-2014, 05:04 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - delroth - 03-24-2014, 05:30 PM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Sonicadvance1 - 03-24-2014, 08:36 PM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - pauldacheez - 03-25-2014, 05:57 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Katastic Voyage - 03-25-2014, 09:42 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Sonicadvance1 - 03-25-2014, 04:12 PM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - Katastic Voyage - 03-30-2014, 07:29 AM
RE: [Linux, OpenGL 4] How are you devs setting/using OpenGL? - degasus - 03-30-2014, 10:56 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode