+ else if(r.type==PipelineState::STORAGE_TEXTURE)
+ {
+ static Require _req(ARB_shader_image_load_store);
+ GLenum gl_format = get_gl_pixelformat(r.texture->get_format());
+ glBindImageTexture(r.binding, r.texture->id, 0, true, 0, GL_READ_WRITE, gl_format);