summaryrefslogtreecommitdiff
path: root/examples/autodiff-texture/train.slang
diff options
context:
space:
mode:
authorMatthew Moulton <30711895+mmoult@users.noreply.github.com>2024-06-07 10:47:17 -0500
committerGitHub <noreply@github.com>2024-06-07 08:47:17 -0700
commit78d34f3b3cec6222f87fc69eddfe66f3fc91b1cf (patch)
tree3e3b2596e401c722de7c84b1e35a923d2051d0a7 /examples/autodiff-texture/train.slang
parent7c6faf62158eed309f01bbef8a7b88e0c36459c7 (diff)
Improve documentation and example formatting consistency (#4299)
* Improve doc and example consistency Improve consistency of formatting in example shaders and remove trailing spaces in documentation files. Fix minor typos.
Diffstat (limited to 'examples/autodiff-texture/train.slang')
-rw-r--r--examples/autodiff-texture/train.slang6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/autodiff-texture/train.slang b/examples/autodiff-texture/train.slang
index e171d3d71..c6a819d2f 100644
--- a/examples/autodiff-texture/train.slang
+++ b/examples/autodiff-texture/train.slang
@@ -2,12 +2,12 @@
// This class encapsulates a differentiable texture object that uses
// hardware sampling for the primal version, but substitutes a reference
-// interpolation implementation to generate backward pass.
-//
+// interpolation implementation to generate backward pass.
+//
// This specific implementation also makes the choice to use fast fixed point
// atomics to accumulate the derivative (suitable for this example, but maybe
// not in general)
-//
+//
struct DifferentiableTexture
{
RWStructuredBuffer<int> accumulateBuffer; // Per-mip-level accumulate buffer