Post AHiapvcaKBiNXkdkGW by flame@merveilles.town
(DIR) More posts by flame@merveilles.town
(DIR) Post #AHiVaWthSwm0kUU2S0 by flame@merveilles.town
2022-03-23T21:25:36Z
1 likes, 0 repeats
is there such a thing as like Shadertoy, but OpenCL ?
(DIR) Post #AHiVlrcekbqmDCuqzA by muio@social.sakamoto.gq
2022-03-23T21:31:43.756947Z
0 likes, 0 repeats
@flame so you could share different gpgpu programs?Or, you want a place in which you could run gpgpu programs?
(DIR) Post #AHiWJhXClQ5IlqV7lQ by flame@merveilles.town
2022-03-23T21:32:51Z
1 likes, 0 repeats
@muio I have shader code that works in GLSL and Metal, but seems to be acting strangely in OpenCL, and I don't know if it it's OpenCL that is the problem or the software that's running the shader
(DIR) Post #AHiWJi1gw4TGIOlTHc by muio@social.sakamoto.gq
2022-03-23T21:37:49.033573Z
0 likes, 0 repeats
@flame Then use an OpenCL debugger for you environment. Compare it with debugged GLSL and Metal code.Also, on which platform are you using OpenCL?
(DIR) Post #AHiZrLrc8pzHGgmiEC by flame@merveilles.town
2022-03-23T22:04:23Z
0 likes, 0 repeats
@muio I am on MacOS, I have no idea how to debug shaders
(DIR) Post #AHiZrML2NRWUjwYD5c by muio@social.sakamoto.gq
2022-03-23T22:17:33.797502Z
0 likes, 0 repeats
@flame > appleheh, good luckhttps://developer.apple.com/documentation/metal/developing_and_debugging_metal_shadersThere's also renderdoc, but I'm not sure if it works on macos:https://github.com/baldurk/renderdocFor profiling and debugging, Nvidia has "Nsight", and Amd has "Radeon GPU Profiler". If you can get your hands on one of these two vender's recent hardware, you'll have a much better time developing OpenCL (especially amd's).Also, do you have to use OpenCL? can't you use oepngl's compute shaders? (I get that it falls under the GLSL category, but I wanted to make sure.)or maybe vulkan? 😆
(DIR) Post #AHiapvcaKBiNXkdkGW by flame@merveilles.town
2022-03-23T22:27:57Z
1 likes, 0 repeats
@muio I appreciate the helpI am working with something called OpenFX which is a standard for effects rendering in various host software that uses Metal, OpenCL and CUDA. As I say I am currently trying to get to the bottom of whether there is anything wrong with my shader code when run in OpenCL and don't know of something that's just like Shadertoy