-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
03demo_translate causes crash #28
Comments
@hlolli could you try out "lein test" in the main shadertone directory? Some dialogs will pop up and you will want to watch stdout to answer the questions. It would be good to see if an existing test reproduces the error. Also, please provide the details of how you create the error above, from a fresh start of the REPL with "lein repl". I esp. want to know which |
FWIW, we'll need to debug which of the reasons listed in the Errors section are causing the Invalid Operation. |
Oh, never mind the repro steps above--I'm able to repro myself on my MacBook Pro. 😄 |
I've found the issue & should have a bugfix update soon. |
Not sure how 03demo_translate ever worked. This is just broken now. Apparently drivers have gotten better at checking for errors?
I don't know how reloading a shader ever worked. Reloading a shader would bind the new shader in the draw routine, changing the uniform bindings & other state. But, the draw routine would continue and use the previously-bound shader's state for just that first frame. That glitch wasn't caught by the drivers until recently, apparently? New code changes the shader binding prior to calling the draw routine, so all state is consistent.
Ok good! Thanks alot. (just saw your reply now) I think I will use the swapping alot in performances, had to stick with single shader in my last performance. |
Okay, this should be fixed. Actually, I don't know how it worked before! I know it did, but I'm not sure what happened. In any event, I've beefed up my test suite to check this. Thanks for the bug report. Closing. |
p.s. send videos of any performances to the Overtone email list so we can all enjoy them! 😄 |
Hi Roger (and other developers)
I've been using shadertone for a while. Now I updated my Linux to use proprietary driver (AMD Catalyst) and it's working wonderfully on my Fedora 21 GNOME, believe it or not (better perfomance etc.) But now I bump into a new problem, when swapping values in shaders, I always bump into the same error. I believe maybe since my new OpenGL version is now 4.4 then it could be that GL20 libraries dont work as they should?
Anyhow when using swap! in demo03 I get this error message (and in many other sceneros as well)
But I know this error would not have been reproduce-able before I installed the Catalyst Driver.
The text was updated successfully, but these errors were encountered: