Compute shader not writing to SSBO
问题 I'm writing a simple test compute shader that writes a value of 5.0 to every element in a buffer. The buffer's values are initialized to -1, so that I know whether or not creating the buffer and reading the buffer are the problem. class ComputeShaderWindow : public QOpenGLWindow { public: void initializeGL() { // Create the opengl functions object gl = context()->versionFunctions<QOpenGLFunctions_4_3_Core>(); m_compute_program = new QOpenGLShaderProgram(this); auto compute_shader_s = fs: