mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 02:02:41 +08:00
Fix all warnings for gfx-webgpu and add condition control for webgpu ci yml (#16232)
* Fix all warnings for gfx-webgpu * Update webgpu yml, add condition control
This commit is contained in:
@@ -190,9 +190,9 @@ void CCWGPUDescriptorSetLayout::print() const {
|
||||
1) {
|
||||
printf("******missing %d, %d, %d, %d, %d\n", entry.binding, entry.buffer.type, entry.sampler.type, entry.texture.sampleType, entry.storageTexture.access);
|
||||
}
|
||||
printf("%d, %d, %d\n", entry.binding, entry.visibility, entries.size());
|
||||
printf("%d, %d, %d\n", entry.binding, entry.visibility, static_cast<int>(entries.size()));
|
||||
if (entry.buffer.type != WGPUBufferBindingType_Undefined) {
|
||||
printf("b %d %d %d\n", entry.buffer.type, entry.buffer.hasDynamicOffset ? 1 : 0, entry.buffer.minBindingSize);
|
||||
printf("b %d %d %llu\n", entry.buffer.type, entry.buffer.hasDynamicOffset ? 1 : 0, entry.buffer.minBindingSize);
|
||||
}
|
||||
if (entry.sampler.type != WGPUSamplerBindingType_Undefined) {
|
||||
printf("s %d\n", entry.sampler.type);
|
||||
|
||||
Reference in New Issue
Block a user