Skip to content

Commit

Permalink
fix cube-map typo
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Dec 15, 2023
1 parent 1bf498e commit b5a601e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/cube-map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* global GPUBufferUsage */
/* global GPUTextureUsage */
import { mat4 } from 'https://wgpu-matrix.org/dist/2.x/wgpu-matrix.module.js';
import * as wgh from '../dist/1.x/webgpu-utils.module.js';
import GUI from './3rdparty/muigui-0.x.module.js';
Expand Down Expand Up @@ -47,7 +46,7 @@ async function main() {
@group(0) @binding(1) var<uniform> fsUniforms: FSUniforms;
@group(0) @binding(2) var diffuseSampler: sampler;
@group(0) @binding(3) var diffuseTexture: texture_cubef;
@group(0) @binding(3) var diffuseTexture: texture_cube<f32>;
@fragment
fn myFSMain(v: MyVSOutput) -> @location(0) vec4f {
Expand Down

0 comments on commit b5a601e

Please sign in to comment.