webgpu-examples's People
Forkers
ahaoboy whowhatwhywhenwhere dan-online ruofeng618 wontem sguzman isabella232 sxin-h hoangpq ningxiao zhoubin10 load1n9 horki kovala sigmaxipi coleea anqisoft seanpm2001webgpu-examples's Issues
Dependency leads to 404 page
Hey, crowlKats! Thank you for all the work you've done bringing WebGPU to Deno.
I should point out though that export { Dds } from "https://crux.land/2arQ9t";
leads to a 404 page.
add image comparison to the run script
Port remaining examples
Invalid utf-8 sequence while running hello triangle
Hi I was trying Deno new WebGPU binding but I encounter this issue:
$ deno run --unstable --allow-write=output.png https://raw.githubusercontent.com/crowlKats/webgpu-examples/f3b979f57fd471b11a28c5b0c91d0447221ba77b/hello-triangle/mod.ts
Download https://raw.githubusercontent.com/crowlKats/webgpu-examples/f3b979f57fd471b11a28c5b0c91d0447221ba77b/hello-triangle/mod.ts
Download https://raw.githubusercontent.com/crowlKats/webgpu-examples/f3b979f57fd471b11a28c5b0c91d0447221ba77b/utils.ts
Download https://raw.githubusercontent.com/crowlKats/webgpu-examples/f3b979f57fd471b11a28c5b0c91d0447221ba77b/deps.ts
Download https://deno.land/x/[email protected]/mod.ts
Download https://crux.land/2arQ9t
Download https://deno.land/x/[email protected]/mod.ts
Download https://deno.land/x/[email protected]/mod.ts
Download https://www.cloudflare-terms-of-service-abuse.com/streaming.ts
Download https://www.cloudflare-terms-of-service-abuse.com/streaming.ts
Download https://www.cloudflare-terms-of-service-abuse.com/streaming.ts
Download https://crux.land/2arQ9t.ts
Download https://deno.land/x/[email protected]/mod.ts
error: invalid utf-8 sequence of 1 bytes from index 6
at https://raw.githubusercontent.com/crowlKats/webgpu-examples/f3b979f57fd471b11a28c5b0c91d0447221ba77b/deps.ts:2:0```
meet error when run script
error: Uncaught (in promise) TypeError: Failed to execute 'createComputePipeline' on 'GPUDevice': 'layout' of 'GPUComputePipelineDescriptor' (Argument 1) is not of type GPUPipelineLayout.
const computePipeline = device.createComputePipeline({
^
at makeException (deno:ext/webidl/00_webidl.js:80:12)
at deno:ext/webidl/00_webidl.js:867:15
at Array.GPUComputePipelineDescriptor (deno:ext/webidl/00_webidl.js:712:34)
at GPUDevice.createComputePipeline (deno:ext/webgpu/01_webgpu.js:1150:38)
at file:///Users/airing/Files/code/wgpu-deno-example/hello-compute/mod.ts:80:32
deno version:
deno 1.23.2 (release, x86_64-apple-darwin)
v8 10.4.132.8
typescript 4.7.2
WebGPU doesn't work on versions of deno >= 1.32
Creating this issue to help others who run into the same error:
error: Uncaught ReferenceError: GPUTextureUsage is not defined
const basic = GPUTextureUsage.COPY_SRC | GPUTextureUsage.COPY_DST |
denoland/deno#18094 removed support for webgpu in version 1.32. deno upgrade --version 1.31.3
needs to be run before the examples can be used
Hello Compute example parseInt issue
Running the hello-compute
example using command line args does not work as expected.
deno run --unstable hello-compute/mod.ts 1 4 3 295
# [ "0", "0", "0", "1" ]
# SHOULD BE [ "0", "2", "7", "55" ]
See mdn - using_parseint_with_map.
webgpu-examples/hello-compute/mod.ts
Line 8 in 0d88098
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.