summaryrefslogtreecommitdiff
path: root/tools/gfx/renderer-shared.h
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-04-18 16:18:02 -0700
committerGitHub <noreply@github.com>2025-04-18 16:18:02 -0700
commit591affaf733ec82d7b38a7bf9c4d2f49a69a2c66 (patch)
tree89d5819114b0d40a4c927ed1185fcda0d94b5679 /tools/gfx/renderer-shared.h
parenta597a0358f2c2b8ec1b71b7959861658a2c06ecc (diff)
Check the available VK extensions before using CoopVec APIs in GFX (#6849)
* Check the available VK extensions before using CoopVec APIs in GFX * Remove a redundant request for cooperative vector extension for vk
Diffstat (limited to 'tools/gfx/renderer-shared.h')
-rw-r--r--tools/gfx/renderer-shared.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h
index 18270c6cd..e1086aca9 100644
--- a/tools/gfx/renderer-shared.h
+++ b/tools/gfx/renderer-shared.h
@@ -1338,6 +1338,11 @@ public:
// Provides a default implementation that returns SLANG_E_NOT_AVAILABLE.
virtual SLANG_NO_THROW Result SLANG_MCALL getTextureRowAlignment(size_t* outAlignment) override;
+ // Provides a default implementation that returns SLANG_E_NOT_AVAILABLE.
+ virtual SLANG_NO_THROW Result SLANG_MCALL getCooperativeVectorProperties(
+ CooperativeVectorProperties* properties,
+ uint32_t* propertyCount) override;
+
Result getEntryPointCodeFromShaderCache(
slang::IComponentType* program,
SlangInt entryPointIndex,
@@ -1392,6 +1397,7 @@ protected:
protected:
Slang::List<Slang::String> m_features;
+ std::vector<CooperativeVectorProperties> m_cooperativeVectorProperties;
public:
SlangContext slangContext;