summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/shader-cache-specialization.slang
diff options
context:
space:
mode:
authorskallweitNV <64953474+skallweitNV@users.noreply.github.com>2022-12-14 18:11:01 +0100
committerGitHub <noreply@github.com>2022-12-14 09:11:01 -0800
commit5ce8d4c146fef7c8890cd40e112858db69702bd2 (patch)
treed37e4faaaaa3631563b9993077787f44f234eb21 /tools/gfx-unit-test/shader-cache-specialization.slang
parent9d048351d283f8df2a68aca52b3573dcbb8cdb9b (diff)
Shader cache improvements (#2564)
* Make shader cache tests check the output buffer * Add shader cache eviction test * Cleanup comments * Improve TestReporter thread safety * Split lockFile test into two tests * Cleanup PersistentCache tests * Disable multi-threaded tests on aarch64
Diffstat (limited to 'tools/gfx-unit-test/shader-cache-specialization.slang')
-rw-r--r--tools/gfx-unit-test/shader-cache-specialization.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/shader-cache-specialization.slang b/tools/gfx-unit-test/shader-cache-specialization.slang
index 63994aee8..df9dacaa3 100644
--- a/tools/gfx-unit-test/shader-cache-specialization.slang
+++ b/tools/gfx-unit-test/shader-cache-specialization.slang
@@ -33,7 +33,7 @@ interface ITransformer
struct AddTransformer : ITransformer
{
float c;
- float transform(float x) { return x + c + 10.0f; }
+ float transform(float x) { return x + c; }
};
// Represents a transform function f(x) = x * c.