summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test/link-time-constant.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-07 17:28:19 -0800
committerGitHub <noreply@github.com>2024-03-07 17:28:19 -0800
commita810aa31f5f366d69e67be96c169fec7d6041df7 (patch)
tree3c8697241d8f3381720661b6f5d3cdaac7789f5d /tools/gfx-unit-test/link-time-constant.cpp
parent6492906ebe59b573f6243e7c44476944b9dd5592 (diff)
Link-time constant and linkage API improvements. (#3708)
* Link-time constant and linkage API improvements. * Fix. * Allow module name to be empty. * Fix. * Fix. * Fix compile error.
Diffstat (limited to 'tools/gfx-unit-test/link-time-constant.cpp')
-rw-r--r--tools/gfx-unit-test/link-time-constant.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/link-time-constant.cpp b/tools/gfx-unit-test/link-time-constant.cpp
index 62cb294c1..b349a7dcb 100644
--- a/tools/gfx-unit-test/link-time-constant.cpp
+++ b/tools/gfx-unit-test/link-time-constant.cpp
@@ -79,6 +79,8 @@ namespace gfx_test
R"(
export static const bool turnOnFeature = true;
export static const float constValue = 2.0;
+ export static const int numthread = 1;
+ export static const int arraySize = 4;
)"));
ComputePipelineStateDesc pipelineDesc = {};