mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-18 06:09:30 -07:00
Slowly working out what's required to support uniform buffers that store integers as well as floats
This commit is contained in:
10
TODO.txt
10
TODO.txt
@@ -1,7 +1,15 @@
|
||||
TODO:
|
||||
|
||||
WebGPU
|
||||
std140 problem with uniform buffers
|
||||
std140
|
||||
Right now, buildStruct packs an array, which is changed to a typedarray and fed to a GPUBuffer
|
||||
That limits the type to whatever the typedarray is
|
||||
Instead, we need to represent the type of each value, and write it as such
|
||||
Create an array buffer
|
||||
Create a Float32Array view into it, and an Int32Array view
|
||||
Transcribe the values into these views
|
||||
Return the array buffer
|
||||
|
||||
|
||||
Write an explanation of the rain pass (and include images)
|
||||
Compute
|
||||
|
||||
Reference in New Issue
Block a user