summaryrefslogtreecommitdiffstats
path: root/tools/render-test/cpu-compute-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/cpu-compute-util.h')
-rw-r--r--tools/render-test/cpu-compute-util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/render-test/cpu-compute-util.h b/tools/render-test/cpu-compute-util.h
index e6e896b6a..c66650506 100644
--- a/tools/render-test/cpu-compute-util.h
+++ b/tools/render-test/cpu-compute-util.h
@@ -49,7 +49,9 @@ struct CPUComputeUtil
void* m_uniformEntryPointParams;
};
-
+ /// True if this feature is available on CPU
+ static bool hasFeature(const Slang::UnownedStringSlice& feature);
+
/// Runs code across run styles and makes sure output buffers match
static SlangResult checkStyleConsistency(ISlangSharedLibrary* sharedLib, const uint32_t dispatchSize[3], const ShaderCompilerUtil::OutputAndLayout& compilationAndLayout);