maierfelix / maierfelix/webgpu

WGPUShaderModuleSPIRVDescriptor needs all members initialized

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
248
Forks
17
PR merge metrics
No merged PRs in 30d

Description

In `GPUShaderModule` constructor, the `codeSize` and `code` members of the `WGPUShaderModuleSPIRVDescriptor` instance need to be initialized.

Fix coming shortly.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the GPUShaderModule constructor and locate the WGPUShaderModuleSPIRVDescriptor instance. Verify how its members are declared and initialized, then ensure codeSize and code receive initialization there. Done means both members are initialized whenever the descriptor is constructed.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.