Skip to content

Commit 2e659f2

Browse files
committed
Couple of docs fixes
1 parent d0da662 commit 2e659f2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,38 @@ Changelog
22
---------
33

44
**Version 0.19.5**
5+
56
- Documentation for generators
67
- Extra fixes for grid
78

89
**Version 0.19.4**
10+
911
- Fix grid issue
1012

1113
**Version 0.19.3**
14+
1215
- Update SGL -> 0.12.4
1316
- Significant improvements to generator types
1417
- Support textures as output type
1518

1619
**Version 0.19.2**
20+
1721
- Update SGL -> 0.12.3
1822
- Better error messages during generation
1923
- Fix corrupt error tables
2024
- Restore detailed error information during dispatch
2125

2226
**Version 0.19.1**
27+
2328
- Update SGL -> 0.12.2
2429
- Fix major issue with texture transposes
2530

2631
**Version 0.19.0**
32+
2733
- Add experimental grid type
2834

2935
**Version 0.18.2**
36+
3037
- Update SGL -> 0.12.1
3138
- Rename from_numpy to buffer_from_numpy
3239

docs/generators.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Generators
33

44
SlangPy provides a way to generate data dynamically within kernels, eliminating the need to supply it in a buffer or tensor. This is achieved using generators.
55

6+
Code for all generator examples can be found `here <https://github.com/shader-slang/slangpy/tree/main/examples/generators>`_
7+
68
Generators can be passed to a Slang function in Python just like any other argument. When the kernel runs, the correct values are automatically passed to the corresponding parameter. For example, the following code demonstrates how to pass the `call_id` generator to a kernel:
79

810
.. code-block:: python

0 commit comments

Comments
 (0)