LearnWebGPU icon indicating copy to clipboard operation
LearnWebGPU copied to clipboard

Dawn: "requiredFeaturesCount" vs "requiredFeatureCount"?

Open eliasdaler opened this issue 1 year ago • 2 comments

It seems like Google Dawn uses requiredFeatureCount and not requiredFeaturesCount as specified in tutorial for WGPUDeviceDescriptor. Is it something that has changed recently?

eliasdaler avatar Dec 19 '23 09:12 eliasdaler

Also this doesn't work:

renderPassDesc.timestampWriteCount = 0; // timestampWriteCount doesn't exist in Dawn.

(It seems like Dawn/webgpu is moving fast, so I think there will be many more inconsistencies that I'll post here as I go through the tutorial)

eliasdaler avatar Dec 19 '23 10:12 eliasdaler

These are recent changes. I am not updating the guide as long as Dawn does not really switch to the new standard API, where there is no longer the SwapChain, because I know it will happen and don't want to duplicate the effort (each update takes time because I have to process all chapters).

Moreover, if I update for Dawn, I also want to update for wgpu-native, but currently the two implementations are less in sync that they used to be (again, because Dawn lags behind on the SwapChain part) so it'd be a mess to have suddenly a lot of #if, that I would have to revert back soon again.

eliemichel avatar Dec 19 '23 19:12 eliemichel

(It's been upgraded)

eliemichel avatar Jun 07 '24 05:06 eliemichel