summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test/shader-cache-tests.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-12-06 12:05:07 -0800
committerGitHub <noreply@github.com>2023-12-06 12:05:07 -0800
commit11111e5733b189127dc2c4934d67693b9bc6e764 (patch)
tree0ba84df3e856eb104abec2ecac47242bc70a7b7d /tools/gfx-unit-test/shader-cache-tests.cpp
parentfa6d8717d02912697c09f2d7de802723ac6d6e47 (diff)
Support visibility control and default to `internal`. (#3380)
* Support visibility control and default to `internal`. * Fix wip. * Fixes. * Fix. * Fix test. * Add legacy language detection and compatibility for existing code. * Add doc. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx-unit-test/shader-cache-tests.cpp')
-rw-r--r--tools/gfx-unit-test/shader-cache-tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gfx-unit-test/shader-cache-tests.cpp b/tools/gfx-unit-test/shader-cache-tests.cpp
index 3879fd630..4477c4f56 100644
--- a/tools/gfx-unit-test/shader-cache-tests.cpp
+++ b/tools/gfx-unit-test/shader-cache-tests.cpp
@@ -430,7 +430,7 @@ namespace gfx_test
{
String importedContentsA = String(
R"(
- void processElement(RWStructuredBuffer<float> buffer, uint index)
+ public void processElement(RWStructuredBuffer<float> buffer, uint index)
{
var input = buffer[index];
buffer[index] = input + 1.0f;
@@ -439,7 +439,7 @@ namespace gfx_test
String importedContentsB = String(
R"(
- void processElement(RWStructuredBuffer<float> buffer, uint index)
+ public void processElement(RWStructuredBuffer<float> buffer, uint index)
{
var input = buffer[index];
buffer[index] = input + 2.0f;