Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Getting WebGPU Context in pthread #21467

Merged
merged 3 commits into from
Mar 5, 2024

Commits on Mar 4, 2024

  1. Fix Getting WebGPU Context in pthread

    Failed to run compiled WGPU code clips:
     wgpu::SurfaceDescriptor surfDesc{};
     surfDesc.nextInChain = &canvasDesc;
     wgpu::Surface surface = instance.CreateSurface(&surfDesc);
    
    The reason is that it cannot call getContext from correct canvas
    object.
    
    This PR fixed the problem and add correct build flags for
    webgpu_basic_rendering test in pthread.
    shaoboyan committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    f0839ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d9d46f View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Add TODOs

    kainino0x authored Mar 5, 2024
    Configuration menu
    Copy the full SHA
    f89563c View commit details
    Browse the repository at this point in the history