Skip to content

Commit 448582e

Browse files
committed
Add screenshot to compute shader derivatives sample README
1 parent dc33a84 commit 448582e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

samples/extensions/compute_shader_derivatives/README.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ endif::[]
2424

2525
This sample demonstrates VK_KHR_compute_shader_derivatives, which enables the use of derivative instructions (like dFdx/dFdy) inside compute shaders. Traditionally, derivatives are only available in fragment shaders, but this extension defines derivative groups in compute and how invocations are paired for derivative computations.
2626

27+
// Screenshot of the sample output
28+
.Compute shader derivatives output
29+
image::shader_derivatives.png[align=center,alt="Compute shader derivatives output"]
30+
2731
== What is it?
2832
- SPIR-V: The companion SPIR-V extension allows derivative instructions in the Compute execution model.
2933
- Vulkan: The device feature is exposed via `VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR` with two booleans:
362 KB
Loading

0 commit comments

Comments
 (0)