Summary: | com.jogamp.opengl.util.glsl.ShaderCode doesn't support compute shaders | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Julien Gouesse <gouessej> |
Component: | opengl | Assignee: | Julien Gouesse <gouessej> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gouessej, sgothel |
Priority: | --- | ||
Version: | 2.3.2 | ||
Hardware: | All | ||
OS: | all | ||
Type: | FEATURE | SCM Refs: |
4a1a777088cfd20875d2a99a71028e37e2c9fc92
8f56b4a0631fd4d8668573ff3baa704e22d8ed85
39661fb1d16149df7eabe818a25f44dac537c8a3
|
Workaround: | --- |
Description
Julien Gouesse
2015-08-12 10:48:43 CEST
https://github.com/gouessej/jogl/commit/4a1a777088cfd20875d2a99a71028e37e2c9fc92 https://github.com/gouessej/jogl/commit/8f56b4a0631fd4d8668573ff3baa704e22d8ed85 commit 4a1a777088cfd20875d2a99a71028e37e2c9fc92 Adds the compute shaders into the list of supported shaders for ShaderCode commit 8f56b4a0631fd4d8668573ff3baa704e22d8ed85 Updates the documentation of the class ShaderCode concerning the compute shaders @Julien: It would be great if you could add a simple unit test using a compute shader (if this feature is available -> runtime query), then we could demonstrate and test this feature. In such case, simply add the SCM Ref here and add a new comment, I will pull (email). Don't forget this tiny thing: https://github.com/sgothel/jogl/commit/8f56b4a0631fd4d8668573ff3baa704e22d8ed85#diff-f52165b55f3aa3d21d51ef2b26ccf377R382 I can port this example of compute shader: http://wili.cc/blog/opengl-cs.html 56f03908e476a4630d36282592e12bf20e589fa8 ShaderCode: Add SUFFIX_COMPUTE_SOURCE/SUFFIX_COMPUTE_BINARY; Add @since 2.3.2 tag (In reply to comment #4) > Don't forget this tiny thing: > https://github.com/sgothel/jogl/commit/ > 8f56b4a0631fd4d8668573ff3baa704e22d8ed85#diff- > f52165b55f3aa3d21d51ef2b26ccf377R382 commit 56f03908e476a4630d36282592e12bf20e589fa8 completes it .. right? > > I can port this example of compute shader: > http://wili.cc/blog/opengl-cs.html that would be great! (In reply to comment #6) > (In reply to comment #4) > > Don't forget this tiny thing: > > https://github.com/sgothel/jogl/commit/ > > 8f56b4a0631fd4d8668573ff3baa704e22d8ed85#diff- > > f52165b55f3aa3d21d51ef2b26ccf377R382 > > commit 56f03908e476a4630d36282592e12bf20e589fa8 > completes it .. right? > Rather this one?? https://github.com/sgothel/jogl/commit/39661fb1d16149df7eabe818a25f44dac537c8a3 > > > > I can port this example of compute shader: > > http://wili.cc/blog/opengl-cs.html > > that would be great! I'll look for a simple unit test to extend. (In reply to comment #7) > Rather this one?? > https://github.com/sgothel/jogl/commit/ > 39661fb1d16149df7eabe818a25f44dac537c8a3 commit 39661fb1d16149df7eabe818a25f44dac537c8a3 yes, sorry copy/paste error. |