Skip to content

Commit

Permalink
fix mat3x3f diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 9, 2024
1 parent e735a22 commit 9aabe89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webgpu/lessons/webgpu-matrix-math.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ function transformPoint(matrix, p) {
@group(0) @binding(0) var<uniform> foo: mat3x3f;
`;
const defs = makeShaderDataDefinitions(wgsl);
elem.appendChild(createByteDiagramForType('mat3x3f', defs.uniforms.foo));
elem.appendChild(createByteDiagramForType('mat3x3f', defs.uniforms.foo.typeDefinition));
},
trs(elem) {
setupF(elem, (settings) => {
Expand Down

0 comments on commit 9aabe89

Please sign in to comment.