Closed brendan-duncan closed 3 years ago
WGpuRenderPipelineDescriptor is supposed to derive from GPUPipelineDescriptorBase and have a GPUPipelineLayout layout member.
WGpuRenderPipelineDescriptor
GPUPipelineDescriptorBase
GPUPipelineLayout layout
WGPU_INPUT_STEP_MODE should probably be WGPU_VERTEX_STEP_MODE now, to match the new name of the string constants.
WGPU_INPUT_STEP_MODE
WGPU_VERTEX_STEP_MODE
Some other minor cleanups: WGpuBindGroupLayoutDescriptor and similarly removed structs are still defined in lib_webgpu_fwd.h
Fixed in above commit.
Also noticed that the module creation code was missing the shader constants dictionary.
WGpuRenderPipelineDescriptor
is supposed to derive fromGPUPipelineDescriptorBase
and have aGPUPipelineLayout layout
member.WGPU_INPUT_STEP_MODE
should probably beWGPU_VERTEX_STEP_MODE
now, to match the new name of the string constants.Some other minor cleanups: WGpuBindGroupLayoutDescriptor and similarly removed structs are still defined in lib_webgpu_fwd.h