mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 23:26:24 +00:00
Use TextureFormat::None for RenderBundleEncoder and AttachmentState
Bug: dawn:214 Change-Id: Ia9432582b0a5627c00d46ebcfa63ebf1ba246651 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10520 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
45ea7e66bf
commit
f0b17d00b9
@@ -21,8 +21,6 @@ namespace utils {
|
||||
ComboRenderBundleEncoderDescriptor::ComboRenderBundleEncoderDescriptor() {
|
||||
dawn::RenderBundleEncoderDescriptor* descriptor = this;
|
||||
|
||||
descriptor->sampleCount = 1;
|
||||
descriptor->depthStencilFormat = nullptr;
|
||||
descriptor->colorFormatsCount = 0;
|
||||
descriptor->colorFormats = &cColorFormats[0];
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ namespace utils {
|
||||
ComboRenderBundleEncoderDescriptor();
|
||||
|
||||
std::array<dawn::TextureFormat, kMaxColorAttachments> cColorFormats;
|
||||
dawn::TextureFormat cDepthStencilFormat;
|
||||
};
|
||||
|
||||
} // namespace utils
|
||||
|
||||
Reference in New Issue
Block a user