summaryrefslogtreecommitdiffstats
path: root/Whisper/ML/mlStartup.cpp
diff options
context:
space:
mode:
authorKonstantin <const@const.me>2023-01-18 20:35:30 +0100
committerKonstantin <const@const.me>2023-01-18 20:35:30 +0100
commit11c399b70c7ad5664b6060b39632e6b9fa815350 (patch)
tree763afed51699017749d3f0398f16928aad7544a4 /Whisper/ML/mlStartup.cpp
parentad097a744759c6a78e1b33ea9d2b4b2af01c529d (diff)
Optional startup flags to override performance-related defaults for the compute shaders
Diffstat (limited to 'Whisper/ML/mlStartup.cpp')
-rw-r--r--Whisper/ML/mlStartup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Whisper/ML/mlStartup.cpp b/Whisper/ML/mlStartup.cpp
index 815ce52..5a0c88a 100644
--- a/Whisper/ML/mlStartup.cpp
+++ b/Whisper/ML/mlStartup.cpp
@@ -12,9 +12,9 @@ namespace DirectCompute
{
const LookupTables& lookupTables = s_tables;
- HRESULT mlStartup()
+ HRESULT mlStartup( uint32_t flags )
{
- CHECK( d3dStartup() );
+ CHECK( d3dStartup( flags ) );
CHECK( s_tables.create() );
return S_OK;
}