mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-18 14:19:30 -07:00
Adding WebGPU to TODO.md. Annotating the parts of the WebGPU code that involve uniform buffer layout issues.
This commit is contained in:
@@ -23,6 +23,8 @@ let TWO_PI:f32 = 6.28318530718; // No, I'm not using Tau.
|
||||
|
||||
[[block]] struct CameraUniforms {
|
||||
screenSize: vec2<f32>;
|
||||
camera: mat4x4<f32>;
|
||||
transform: mat4x4<f32>;
|
||||
};
|
||||
[[group(0), binding(5)]] var<uniform> cameraUniforms:CameraUniforms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user