<p>How do I write a code to facilitate common shared memory for communication between multiple shaders as well as processes within them in python?</p>

CC BY-SA 4.0
2022-03-16T07:53:38.000Z
You can use "Shader Storage Buffer Object" (SSBO). This is GPU memory, which can be accessed by any shader. You can load this buffer to CPU as well (glGetBufferSubData()).
Thomas
CC BY-SA 4.0
2022-03-16T15:45:07.427Z
When you say "between multiple shaders", do you mean between multiple separate programs or multiple invocations in the same dispatch call?
Nicol Bolas
CC BY-SA 4.0
2022-03-20T06:49:44.720Z
Between multiple separate programs
Ravindra
<opengl><gpu><compute-shader>
Inter-Process communication in compute shaders
Ravindra
# Inter-Process communication in compute shaders

(Asked by: username_0 on 2022-03-16)

How do I write a code to facilitate common shared memory for communication between multiple shaders as well as processes within them in python?

**Tags:** opengl, gpu, compute-shader

> **Comments:**
> **username_1**: You can use "Shader Storage Buffer Object" (SSBO). This is GPU memory, which can be accessed by any shader. You can load this buffer to CPU as well (glGetBufferSubData()).  
> **username_2**: When you say "between multiple shaders", do you mean between multiple separate programs or multiple invocations in the same dispatch call?  
> **username_0**: Between multiple separate programs  

---

## 0 answers

