From a810aa31f5f366d69e67be96c169fec7d6041df7 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 7 Mar 2024 17:28:19 -0800 Subject: 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. --- tools/gfx-unit-test/link-time-constant.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gfx-unit-test/link-time-constant.cpp') 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 = {}; -- cgit v1.2.3