Skip to content

Commit 9053bcf

Browse files
Allow UAVs for multisampled textures (close #681)
1 parent 999cbcf commit 9053bcf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Graphics/GraphicsEngine/src/TextureBase.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ void ValidateTextureDesc(const TextureDesc& Desc, const IRenderDevice* pDevice)
132132

133133
if (Desc.MipLevels != 1)
134134
LOG_TEXTURE_ERROR_AND_THROW("Multisampled textures must have one mip level (", Desc.MipLevels, " levels specified).");
135-
136-
if (Desc.BindFlags & BIND_UNORDERED_ACCESS)
137-
LOG_TEXTURE_ERROR_AND_THROW("UAVs are not allowed for multisampled resources");
138135
}
139136

140137
if ((Desc.BindFlags & BIND_RENDER_TARGET) &&

0 commit comments

Comments
 (0)