@landelare Oh... sorry, I can't use storage buffer objects. GLEW_ARB_shader_storage_buffer_object is 0.
KT
@kertinker@mastodon.gamedev.place
Posts
-
Just learned that there is no way for a GLSL shader to send data to the CPU side program. -
Just learned that there is no way for a GLSL shader to send data to the CPU side program.@landelare Oh, I hadn't learned about those. Thanks!
-
Just learned that there is no way for a GLSL shader to send data to the CPU side program.Just learned that there is no way for a GLSL shader to send data to the CPU side program. I think, at least. No way to emit debugging information at all, not even a puts.
At least if I understand, "Uniforms are so named because they do not change from one shader invocation to the next within a particular rendering call thus their value is uniform among all invocations."
Thought I could define a uniform, then set that to some debugging value in the shader.