Skip to main content

Questions tagged [compute-shader]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
63 votes
3 answers
37k views

When is a compute shader more efficient than a pixel shader for image filtering?

Image filtering operations such as blurs, SSAO, bloom and so forth are usually done using pixel shaders and "gather" operations, where each pixel shader invocation issues a number of texture fetches ...
Nathan Reed's user avatar
  • 25.1k
5 votes
1 answer
2k views

Threads lockstep and conditions in compute shader

I'm working with DirectCompute, but this question can be applied to general gpu programming I suppose. As far as I know the threads in a group works in a lockstep. ...
nikitablack's user avatar
2 votes
1 answer
5k views

CUDA/OpenCL vs OpenGL compute shader for Path tracer

So I want to implement a path tracer and I am confused between GPGPU computing or using OpenGL's compute shaders. I've already implemented a raytracer using GL's compute shaders. What are the main ...
gallickgunner's user avatar