Chapter 10. Fragment Processing

What You’ll Learn in This Chapter

• What happens after a primitive is rasterized

• How your fragment shaders determine the color of fragments

• How the results of your fragment shaders are merged into the final picture

The previous chapters covered everything that occurs in the Vulkan graphics pipeline up until the point of rasterization. The rasterizer takes your primitives and breaks them into many fragments, which ultimately come together to form the final pixels that will be shown to your users. In this chapter, you will see what happens to those fragments as they undergo per-fragment tests, shading and then blending into color attachments used by your application.

Scissor Testing

The scissor test is a stage ...

Get Vulkan™ Programming Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.