aboutsummaryrefslogtreecommitdiff
path: root/test/opt/inline_opaque_test.cpp
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2020-05-13 23:44:19 -0400
committerGitHub <noreply@github.com>2020-05-13 23:44:19 -0400
commitd4fac3451b705b0681239501936c073e1c690ba7 (patch)
tree3a74131cebb0f430299616f457aaeb641ea3850b /test/opt/inline_opaque_test.cpp
parent233246bc9c5e0fef93f784a3f38899e35441519d (diff)
downloadspirv-tools-d4fac3451b705b0681239501936c073e1c690ba7.tar.gz
Revert "[spirv-opt] refactor inlining pass (#3328)" (#3342)
This reverts commit 233246bc9c5e0fef93f784a3f38899e35441519d.
Diffstat (limited to 'test/opt/inline_opaque_test.cpp')
-rw-r--r--test/opt/inline_opaque_test.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/opt/inline_opaque_test.cpp b/test/opt/inline_opaque_test.cpp
index b8d2dfad..d10913ae 100644
--- a/test/opt/inline_opaque_test.cpp
+++ b/test/opt/inline_opaque_test.cpp
@@ -102,12 +102,12 @@ OpStore %30 %29
OpStore %32 %31
%33 = OpLoad %S_t %s0
OpStore %param %33
-%42 = OpAccessChain %_ptr_Function_18 %param %int_2
-%43 = OpLoad %18 %42
-%44 = OpAccessChain %_ptr_Function_v2float %param %int_0
-%45 = OpLoad %v2float %44
-%46 = OpImageSampleImplicitLod %v4float %43 %45
-OpStore %outColor %46
+%41 = OpAccessChain %_ptr_Function_18 %param %int_2
+%42 = OpLoad %18 %41
+%43 = OpAccessChain %_ptr_Function_v2float %param %int_0
+%44 = OpLoad %v2float %43
+%45 = OpImageSampleImplicitLod %v4float %42 %44
+OpStore %outColor %45
OpReturn
OpFunctionEnd
)";
@@ -191,10 +191,10 @@ OpFunctionEnd
%34 = OpVariable %_ptr_Function_20 Function
%35 = OpVariable %_ptr_Function_20 Function
%25 = OpVariable %_ptr_Function_20 Function
-%37 = OpLoad %20 %sampler16
-OpStore %34 %37
-%38 = OpLoad %20 %34
-OpStore %35 %38
+%36 = OpLoad %20 %sampler16
+OpStore %34 %36
+%37 = OpLoad %20 %34
+OpStore %35 %37
%26 = OpLoad %20 %35
OpStore %25 %26
%27 = OpLoad %20 %25
@@ -301,12 +301,12 @@ OpStore %31 %30
OpStore %33 %32
%34 = OpLoad %S_t %s0
OpStore %param %34
-%45 = OpAccessChain %_ptr_Function_19 %param %int_2
-%46 = OpLoad %19 %45
-%47 = OpAccessChain %_ptr_Function_v2float %param %int_0
-%48 = OpLoad %v2float %47
-%49 = OpImageSampleImplicitLod %v4float %46 %48
-OpStore %outColor %49
+%44 = OpAccessChain %_ptr_Function_19 %param %int_2
+%45 = OpLoad %19 %44
+%46 = OpAccessChain %_ptr_Function_v2float %param %int_0
+%47 = OpLoad %v2float %46
+%48 = OpImageSampleImplicitLod %v4float %45 %47
+OpStore %outColor %48
OpReturn
OpFunctionEnd
)";