34 VALIDATION_LOG <<
"Store action needs resolve but no valid resolve "
43 VALIDATION_LOG <<
"A resolve texture was specified, but the store action "
44 "doesn't include multisample resolve.";
48 if (
texture->GetTextureDescriptor().storage_mode ==
52 <<
"The multisample texture cannot be transient when "
53 "specifying the StoreAndMultisampleResolve StoreAction.";
59 :
texture->GetTextureDescriptor().storage_mode;
63 VALIDATION_LOG <<
"The LoadAction cannot be Load when attaching a device "
70 VALIDATION_LOG <<
"The StoreAction must be DontCare when attaching a "
82 std::vector<TextureUsage> usages;
92 std::stringstream stream;
94 for (
size_t i = 0; i < usages.size(); i++) {
96 if (i != usages.size() - 1u) {
105 std::stringstream stream;
107 stream <<
"Texture=("
109 attachment.
texture->GetTextureDescriptor())
113 stream <<
"ResolveTexture=("
124 std::stringstream stream;
131 std::stringstream stream;
138 std::stringstream stream;