maierfelix / maierfelix/WebGPU-Path-Tracer

GPURayTracingAccelerationContainerFlag is not defined

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
156
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I run this project on win10, and I installed the Windows 452.28 vulkan beta driver, I got this error.

> (node:19768) UnhandledPromiseRejectionWarning: ReferenceError: GPURayTracingAccelerationContainerFlag is not defined
at GeometryBuffer.init (file:///E:/PHPStormProjects/WebGPU-Path-Tracer/buffers/GeometryBuffer.mjs:99:14)
at new GeometryBuffer (file:///E:/PHPStormProjects/WebGPU-Path-Tracer/buffers/GeometryBuffer.mjs:12:10)
at RayTracingPass.init (file:///E:/PHPStormProjects/WebGPU-Path-Tracer/passes/RayTracingPass.mjs:63:24)
at new RayTracingPass (file:///E:/PHPStormProjects/WebGPU-Path-Tracer/passes/RayTracingPass.mjs:16:10)
at main (file:///E:/PHPStormProjects/WebGPU-Path-Tracer/index.mjs:211:16)
(Use `node --trace-warnings ...` to show where the warning was created)

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

Review buffers/GeometryBuffer.mjs at line 99 and the construction path through passes/RayTracingPass.mjs:63 and index.mjs:211. Reproduce the Windows 10 failure with the reported driver, then trace why GPURayTracingAccelerationContainerFlag is unavailable. Done means startup no longer raises this ReferenceError and the ray-tracing path is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.