Relative Content

Tag Archive for cwebgpuwgpu-rs

C WebGPU Error: invalid load op for render pass color attachment: 0

I am trying to use WebGPU with C with the implementation from wgpu-native and GLFW to create window. I follow the tutorial from here. The tutorial is a bit old and there’s changes in the API. One of the change which getting in my way was creating the swapchain. The older API explicitly requires you to create the swapchain object, while the recent one the swapchain information is already in the surface object so you only need to configure the surface.