Overview
Provide some features helpful for WebGPU Development
Features: * Print Debug Errors at their source. * Dump Shaders of WebGPU programs * Log which type of GPU is being used on requestAdapter * Force low-power or high-performance GPU * Show how many devices are currently active on the page * Add Descriptors to Objects * Show bit names for GPUTexture.usage and GPUBuffer.usage in DevTools * Block Features * Add API Breakpoints Details * Print Debug Errors at their Source Errors in WebGPU are usually handled asynchronously which means the actual command that generated the error is often unknown. This extension adds early error checking so that hopefully you'll get an error stack at the place the error was generated making it easier to fix bugs * Dump Shaders of WebGPU programs See the shader of the current page. * Log which type of GPU is being used on requestAdapter Prints the adapterInfo on each call to requestAdapter. This lets you see which GPU was used on a dual GPU machine as well as if compatibility mode was requested. * Force low-power or high-performance GPU Force low-power or high-performance GPU selection for a page. * Show how many devices are currently active on the page Prints a running total of the number of devices currently active on a page. * Add Descriptors to Objects Adds the descriptors used to create many objects to those objects. For example: When you call `createView` on a texture you pass in a descriptor. That descriptor is not reflected in the view itself which can make it hard to see what's going on. This adds that data onto the view so you can inspect it in the debugger or in the error messages printed by "Show Errors". Similarly, bindGroups, bindGroupLayouts, pipelines, pipelineLayouts, pass encoders, query sets, samplers, shader modules, external textures, ... * Block Features Lets you block webgpu features. For example, type in `shader-f16` and the shader-f16 feature will be blocked. You can use this to test that your code, that is supposed to run without the feature, actually runs without the feature. * API Breakpoints Adds a `debugger` statement to the specified WebGPU API functions. Want to know where the page is calling importExternalTexture? Add a breakpoint. Source at https://github.com/greggman/webgpu-dev-extension
0 out of 5No ratings
Google doesn't verify reviews. Learn more about results and reviews.
Details
- Version0.0.6
- UpdatedApril 17, 2024
- Offered bygman
- Size143KiB
- LanguagesEnglish
- Developer
Email
github@greggman.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, visit the developer's support site