GLSL - Parallel Processing
Hi,
i made a visual simulation of Depth of Field using OpenGL and GLSL (vertex/fragment shaders) and i'd like to know how can i process several pixels at the same time, objective is to improve performance..
Can someone help me with this, examples maybe?
Thanks in advance :)
You can't. The hardware already does this for you. Every modern GPU has a rather large amount of parallel pipelines that process many pixels simultaneously.
Thanks for the fast reply :)
So there's any way to know how many pixels are being processed simultaneously?
So there's any way to know how many pixels are being processed simultaneously?
No. It's implementation dependent, and varies from one GPU to the next. It also depends on the complexity of your shader.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement