summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-07 16:55:08 -0500
committerGitHub <noreply@github.com>2017-11-07 16:55:08 -0500
commit417c9f3939e0545125317f49316a6dfb060d6c2c (patch)
treeb7560ff41a43cda235ab7db8a19fd2371e3f7ba8 /tests
parentd1b45f3059e100d096327eb178c1bac365e564f1 (diff)
parenta54364303241e3cd7c3d075ee1dd4164915d939f (diff)
Merge pull request #256 from tfoleyNV/falcor-integration-work
Falcor integration work
Diffstat (limited to 'tests')
-rw-r--r--tests/ir/loop.slang.expected6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/ir/loop.slang.expected b/tests/ir/loop.slang.expected
index 212ce1913..d3057ca2c 100644
--- a/tests/ir/loop.slang.expected
+++ b/tests/ir/loop.slang.expected
@@ -5,6 +5,8 @@ ir_global_var @_SV01s : Ptr<@ThreadGroup vector<float,4>[64]>;
ir_global_var @_SV05input : Ptr<StructuredBuffer<vector<float,4>>>;
+ir_func @_S031GroupMemoryBarrierWithGroupSyncp0V : () -> void;
+
ir_global_var @_SV06output : Ptr<RWStructuredBuffer<vector<float,4>>>;
ir_func @_S04mainp3uuuV : (uint, uint, uint) -> void
@@ -37,7 +39,7 @@ block %15:
loopTest(%20, %21, %16)
block %21:
- GroupMemoryBarrierWithGroupSync()
+ call(@_S031GroupMemoryBarrierWithGroupSyncp0V)
let %22 : uint = load(%6)
let %23 : Ptr<vector<float,4>> = getElementPtr(@_SV01s, %22)
let %24 : Ptr<vector<float,4>> = var()
@@ -68,7 +70,7 @@ block %17:
unconditionalBranch(%15)
block %16:
- GroupMemoryBarrierWithGroupSync()
+ call(@_S031GroupMemoryBarrierWithGroupSyncp0V)
let %40 : RWStructuredBuffer<vector<float,4>> = load(@_SV06output)
let %41 : uint = load(%5)
let %42 : Ptr<vector<float,4>> = getElementPtr(@_SV01s, 0)