When glBufferStorage is called with flags=GL_DYNAMIC_STORAGE_BIT the driver sets the GL error to GL_INVALID_OPERATION and the KHR_debug message writes “GL_INVALID_OPERATION error generated. Neither read nor write access was specified.”
The GL 4.4 spec doesn’t say that GL_MAP_READ_BIT and GL_MAP_WRITE_BIT are mandatory.
Also. The ARB_buffer_storage extension has an example that calls glBufferStorage with flags=0. That also fails with the same error and message. Probably a spec bug but zero flags is logical.
Driver version: 331.20