News for hackers. Stuff that matters.
Re:A Taste of GPU Compute [video] by seanalltogether on Friday April 17, 2020 @12:50PM (#22900624)
Is there a meaningful speed difference between creating a 2d drawing engine using "gpu compute" vs going through normal libraries like directx or opengl? I'm fairly ignorant around what is exposed in the compute libraries vs traditional drawing libraries.
Re:A Taste of GPU Compute [video] by hellofunk on Saturday April 18, 2020 @10:19AM (#22907918)
I think the main issue is where the output from the GPU shader is going. OpenGL for example, the output is the screen. That’s the only output. But for compute, you want the output to come back into the CPU world for storing or manipulating or etc. So compute shaders provide that API for shuffling memory back-and-forth between CPU and GPU and having access to general purpose output from the shader beyond just screen pixels.