GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - webgpu/webgpu-debugger

BranchesTags
Open more actions menu

Latest commit

 

History

212 Commits
212 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
examples
examples
 
 
src
src
 
 
test
test
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.cjs
.eslintrc.cjs
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.cjs
.prettierrc.cjs
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
check.js
check.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
rollup.config.js
rollup.config.js
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

webgpu-debugger

Note: This is still ALPHA code. See issues and other random TODO comments for things that need work

Development

  • Install node. Note: I recommend using nvm(mac/linux) or nvm-windows(windows).

  • run these commands:

    git clone https://github.com/webgpu/webgpu-debugger.git
    cd webgpu-debugger
    npm ci

Live development

npm start

It should open a browser to http://localhost:3000/example/. Edits to the code should end up showing up live in the browser.

Building

npm run build

This builds 3 libraries.

  1. the capture library dist/capture.js

    usage:

    import { webgpuDebugger } from 'dist/capture.js
    
    ...
      const trace = await webgpuDebugger.traceFrame();
  2. the replay library dist/replay.js

    stand alone usage:

    TBD

    usage with capture

    TBD
  3. the 'debugger' in dist/webgpu-debugger.js

    usage:

    import `dist/webgpu-debugger.js`;

    or

    <script src="dist/webgpu-debugger.js"></script>

Pushing changes

Before you push a change please run npm run check or, better yet, make it automatic by putting

npm run check

In .git/hooks/pre-push and then set the executable bit chmod u+x .git/hooks/pre-push

We use prettier to format code so if you find errors, some of them may be able to be fixed with npm run fix.

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity
Custom properties

Stars

77 stars

Watchers

13 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.