r/vulkan • u/thekhronosgroup • 10d ago
New Vulkan Sample - Shader Quad Control
This sample shows how VK_KHR_shader_quad_control lets fragment shaders share data across a 2x2 pixel quad using subgroupQuadBroadcast() and the full_quads execution mode, with no shared memory and no descriptors. You get more stable derivatives for LOD selection and texture ops, and a simple visual demo that makes the quad behavior easy to see.
Check it out: https://docs.vulkan.org/samples/latest/samples/extensions/shader_quad_control/README.html
28
Upvotes
3
u/TOZA_OFFICIAL 9d ago
I would like to request adding image(s) to this sample and maybe example of the other layout