March 2013
Intermediate to advanced
984 pages
26h 18m
English
Chapter Objectives
After reading this chapter, you’ll be able to do the following:
• Create, compile, and link compute shaders.
• Launch compute shaders, which operate on buffers, images, and counters.
• Allow compute shader invocations to communicate with each other and to synchronize their execution.
Compute shaders run in a completely separate stage of the GPU than the rest of the graphics pipeline. They allow an application to make use of the power of the GPU for general purpose work that may or may not be related to graphics. Compute shaders have access to many of the same resources as graphics shaders, but have more control over their application flow and how they execute. This chapter introduces the compute ...