You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running webgpu02...
I've already debugged the pipleine and this is what i'm seeing ...
Type 'IteratorResult<{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }, any>' is not assignable to type 'IteratorResult<GPURenderPassColorAttachment | null, any>' Type 'IteratorYieldResult<{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }>' is not assignable to type 'IteratorResult<GPURenderPassColorAttachment | null, any>'. Type 'IteratorYieldResult<{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }>' is not assignable to type 'IteratorYieldResult<GPURenderPassColorAttachment | null>'. Type '{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }' is not assignable to type 'GPURenderPassColorAttachment'. Object literal may only specify known properties, and 'loadValue' does not exist in type 'GPURenderPassColorAttachment'.
looks to be an error with this const renderPass = commandEncoder.beginRenderPass({ colorAttachments: [{ view: textureView, loadValue: { r: 1., g: 1., b: 1., a: 1. }, //background color storeOp: 'store' }] });
I'm not sure how to fix this part...
The text was updated successfully, but these errors were encountered:
While running webgpu02...
I've already debugged the pipleine and this is what i'm seeing ...
Type 'IteratorResult<{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }, any>' is not assignable to type 'IteratorResult<GPURenderPassColorAttachment | null, any>' Type 'IteratorYieldResult<{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }>' is not assignable to type 'IteratorResult<GPURenderPassColorAttachment | null, any>'. Type 'IteratorYieldResult<{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }>' is not assignable to type 'IteratorYieldResult<GPURenderPassColorAttachment | null>'. Type '{ view: GPUTextureView; loadValue: { r: number; g: number; b: number; a: number; }; storeOp: "store"; }' is not assignable to type 'GPURenderPassColorAttachment'. Object literal may only specify known properties, and 'loadValue' does not exist in type 'GPURenderPassColorAttachment'.
looks to be an error with this
const renderPass = commandEncoder.beginRenderPass({ colorAttachments: [{ view: textureView, loadValue: { r: 1., g: 1., b: 1., a: 1. }, //background color storeOp: 'store' }] });
I'm not sure how to fix this part...
The text was updated successfully, but these errors were encountered: