mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 10:32:39 +08:00
V3.8.1 msaa (#15584)
This commit is contained in:
@@ -169,7 +169,7 @@ void CCWGPUDescriptorSetLayout::updateTextureLayout(uint8_t binding, const CCWGP
|
||||
const CCWGPUTexture *ccTex = static_cast<const CCWGPUTexture *>(texture->isTextureView() ? texture->getViewInfo().texture : texture);
|
||||
TextureType type = ccTex->getViewInfo().type;
|
||||
(*iter).texture.viewDimension = toWGPUTextureViewDimension(type);
|
||||
(*iter).texture.multisampled = ccTex->getInfo().samples != SampleCount::ONE;
|
||||
(*iter).texture.multisampled = ccTex->getInfo().samples != SampleCount::X1;
|
||||
}
|
||||
} else {
|
||||
(*iter).texture.nextInChain = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user