summaryrefslogtreecommitdiff
path: root/tests/serialization/obfuscated-module-check-loc.slang
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2023-04-24 12:43:48 -0400
committerGitHub <noreply@github.com>2023-04-24 12:43:48 -0400
commitfbe37ea6d90f7bfe18506b042657c6e533eaf9b2 (patch)
tree3ba92ecef38e5e4518bfb31e982573fbfe5fa661 /tests/serialization/obfuscated-module-check-loc.slang
parentcef7a478de583cdd4825d642f055a90948b833bc (diff)
Fix issue with Obfuscated hash (#2834)
* #include an absolute path didn't work - because paths were taken to always be relative. * Remove legacy container writing. Test using module without source map. * Change hashing for obfuscated source map such that takes into account different line endings.
Diffstat (limited to 'tests/serialization/obfuscated-module-check-loc.slang')
-rw-r--r--tests/serialization/obfuscated-module-check-loc.slang5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/serialization/obfuscated-module-check-loc.slang b/tests/serialization/obfuscated-module-check-loc.slang
index 2570c8843..853449995 100644
--- a/tests/serialization/obfuscated-module-check-loc.slang
+++ b/tests/serialization/obfuscated-module-check-loc.slang
@@ -1,8 +1,7 @@
//TEST:COMPILE: tests/serialization/obfuscated-loc-module.slang -o tests/serialization/obfuscated-loc-module.zip -g -obfuscate
//TEST:SIMPLE:-target hlsl -stage compute -entry computeMain -obfuscate -r tests/serialization/obfuscated-loc-module.zip
-//TEST:COMPILE: tests/serialization/obfuscated-loc-module.slang -o tests/serialization/obfuscated-loc-module.zip -g -obfuscate
-// Disable for now as it breaks on gcc/release as different hash seems to be produced
-//DISABLE_TEST:SIMPLE:-target hlsl -stage compute -entry computeMain -obfuscate -r tests/serialization/obfuscated-loc-module.zip
+//TEST:COMPILE: tests/serialization/obfuscated-loc-module.slang -o tests/serialization/obfuscated-loc-module.slang-module -g -obfuscate
+//TEST:SIMPLE:-target hlsl -stage compute -entry computeMain -obfuscate -r tests/serialization/obfuscated-loc-module.slang-module
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
RWStructuredBuffer<float> outputBuffer;