Skip to content

Conversation

pjoe
Copy link

@pjoe pjoe commented Sep 6, 2020

Uses cmd line option --vulkan to select if should prefer vulkan backend.

Outputs adapter name and supported extensions.

Things work with nVIDIA vulkan 1.2 beta driver, but I'm, getting errors on DXR:

node .\index.mjs
(node:2796) ExperimentalWarning: The ESM module loader is experimental.
adapter: NVIDIA GeForce RTX 2070 with Max-Q Design
 extensions: [
  'texture_compression_bc',
  'ray_tracing',
  'pipeline_statistics_query',
  'timestamp_query'
]
C:\Users\pelle\git\WebGPU-Path-Tracer\node_modules\webgpu\index.js:41
              default: throw new Error(msg); break;
                       ^

Error: Device lost Error: Create RT pipeline failed with -2147024809
    at CheckHRESULT (../../src/dawn_native/d3d12/D3D12Error.cpp:30)
    at Initialize (../../src/dawn_native/d3d12/RayTracingPipelineD3D12.cpp:229)
    at Create (../../src/dawn_native/d3d12/RayTracingPipelineD3D12.cpp:56)
    at CreateRayTracingPipelineInternal (../../src/dawn_native/Device.cpp:914)
    at Immediate.<anonymous> (C:\Users\pelle\git\WebGPU-Path-Tracer\node_modules\webgpu\index.js:41:30)
    at processImmediate (internal/timers.js:456:21)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant