@plasius/gpu-renderer 0.2.57 → 0.2.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +9 -0
- package/dist/index.cjs +5684 -5635
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5684 -5635
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +5 -1
- package/src/wavefront-compute.js +4 -5
- package/src/wavefront-config.js +8 -2
- package/src/wavefront-instance-shader.js +12 -10
- package/src/wavefront-instance-texture.js +43 -0
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,22 @@ All notable changes to this project will be documented in this file.
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
- **Added**
|
|
15
|
+
- (placeholder)
|
|
16
|
+
|
|
17
|
+
- **Changed**
|
|
18
|
+
- (placeholder)
|
|
19
|
+
|
|
20
|
+
- **Fixed**
|
|
21
|
+
- (placeholder)
|
|
22
|
+
|
|
23
|
+
- **Security**
|
|
24
|
+
- (placeholder)
|
|
25
|
+
|
|
26
|
+
## [0.2.58] - 2026-10-28
|
|
27
|
+
|
|
28
|
+
- Pack shared instance records across device-bounded texture rows with bounded uploads, padded storage diagnostics and early TLAS byte-budget checks.
|
|
29
|
+
|
|
14
30
|
- **Added**
|
|
15
31
|
- (placeholder)
|
|
16
32
|
|
|
@@ -1347,3 +1363,4 @@ All notable changes to this project will be documented in this file.
|
|
|
1347
1363
|
[0.2.55]: https://github.com/Plasius-LTD/gpu-renderer/releases/tag/v0.2.55
|
|
1348
1364
|
[0.2.56]: https://github.com/Plasius-LTD/gpu-renderer/releases/tag/v0.2.56
|
|
1349
1365
|
[0.2.57]: https://github.com/Plasius-LTD/gpu-renderer/releases/tag/v0.2.57
|
|
1366
|
+
[0.2.58]: https://github.com/Plasius-LTD/gpu-renderer/releases/tag/v0.2.58
|
package/README.md
CHANGED
|
@@ -132,6 +132,15 @@ residency. A larger instance count adds transforms and scene-index nodes without
|
|
|
132
132
|
multiplying the underlying geometry. Large buffer uploads use bounded sequential
|
|
133
133
|
staging to reduce temporary upload pressure. Recreate the runtime to replace instances.
|
|
134
134
|
|
|
135
|
+
Instance records pack across both texture dimensions, so the texture height is
|
|
136
|
+
not an instance-count ceiling. The granted device texture dimensions, buffer
|
|
137
|
+
binding limits and `memoryBudgetBytes` determine admission. The memory snapshot
|
|
138
|
+
reports logical `instanceBytes` and padded `instanceTextureBytes`; allocation
|
|
139
|
+
diagnostics include the actual requested texture size and TLAS buffer. Instance
|
|
140
|
+
texture uploads also use sequential chunks no larger than 8 MiB. More instances
|
|
141
|
+
still require ray traversal and shading work: qualify performance at your target
|
|
142
|
+
resolution, sampling and material complexity.
|
|
143
|
+
|
|
135
144
|
## Choose a rendering API
|
|
136
145
|
|
|
137
146
|
| API | Purpose |
|