diff options
| author | Yong He <yonghe@outlook.com> | 2022-10-13 14:07:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-13 14:07:26 -0700 |
| commit | 09054f7ae00aad0458de465a7f0b780a91c694dd (patch) | |
| tree | 776f50b5ebe51ae7088d6990eaa5f6d84d8a6c2a /tools/gfx/gfx.slang | |
| parent | afa9f4b2786c92e72a563f316e074f62770630cb (diff) | |
Make `optimalClearValue` optional in `ITextureResource::Desc` (#2450)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/gfx.slang')
| -rw-r--r-- | tools/gfx/gfx.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/gfx.slang b/tools/gfx/gfx.slang index c1296b472..13359334f 100644 --- a/tools/gfx/gfx.slang +++ b/tools/gfx/gfx.slang @@ -486,7 +486,7 @@ struct TextureResourceDesc : ResourceDescBase GfxCount numMipLevels = 0; ///< Number of mip levels - if 0 will create all mip levels Format format; ///< The resources format TextureResourceSampleDesc sampleDesc; ///< How the resource is sampled - ClearValue optimalClearValue; + ClearValue* optimalClearValue; }; /// Data for a single subresource of a texture. |
