GLSL - Parallel Processing

Started by
3 comments, last by hayden 15 years, 3 months ago
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 :)
Advertisement
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?
No. It's implementation dependent, and varies from one GPU to the next. It also depends on the complexity of your shader.
Ok thanks :)

do you know any links to where i can find some info on that? Just for my report..

This topic is closed to new replies.

Advertisement