Rezmason
|
bd17549619
|
I believe I've added support for generating the array buffer for layouts ending in runtime-sized arrays to gpu-uniforms.js.
|
2021-11-08 09:15:00 -08:00 |
|
Rezmason
|
5747fb74a3
|
Fixing what I think was a stride bug in gpu-uniforms. This library seriously needs some extensive unit testing.
|
2021-11-08 09:09:12 -08:00 |
|
Rezmason
|
6ab16b3091
|
Trying to implement the spec for the alignment and size of struct and array fields in gpu-uniforms.
|
2021-11-08 08:58:55 -08:00 |
|
Rezmason
|
a4e08c0ceb
|
Refining gpu-uniforms warnings, which are now only emitted if requested. Hypothetically a user could call write() on the ArrayBuffer to update only some of its values.
|
2021-11-08 03:08:25 -08:00 |
|
Rezmason
|
415ffa77ee
|
Driving more uniforms.read calls from the actual shaders.
|
2021-11-08 03:01:46 -08:00 |
|
Rezmason
|
61a3a6d783
|
Moved the WebGPU code off of "std140" and onto gpu-uniforms.
|
2021-11-08 02:23:33 -08:00 |
|
Rezmason
|
8f226be368
|
Wrote some code to parse structs in a WGSL shader, calculate its fields' offsets into an ArrayBuffer, generate a JS object that represents it, and write such a JS object to an ArrayBuffer.
|
2021-11-08 01:13:42 -08:00 |
|