Commit 9c795fda by Ben Clayton

VulkanUnitTests: Fix bad comment on assembly.

This has caught me out several times now. Time to fix it. Bug: b/126871859 Change-Id: Ia6fa46404ea89e55311721e4be6e37b7a94f1cd3 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/38916 Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent bbd0694f
...@@ -524,7 +524,7 @@ TEST_P(SwiftShaderVulkanBufferToBufferComputeTest, Memcpy) ...@@ -524,7 +524,7 @@ TEST_P(SwiftShaderVulkanBufferToBufferComputeTest, Memcpy)
"%19 = OpAccessChain %16 %2 %13\n" // &gl_GlobalInvocationId.x "%19 = OpAccessChain %16 %2 %13\n" // &gl_GlobalInvocationId.x
"%20 = OpLoad %10 %19\n" // gl_GlobalInvocationId.x "%20 = OpLoad %10 %19\n" // gl_GlobalInvocationId.x
"%21 = OpAccessChain %17 %6 %12 %20\n" // &in.arr[gl_GlobalInvocationId.x] "%21 = OpAccessChain %17 %6 %12 %20\n" // &in.arr[gl_GlobalInvocationId.x]
"%22 = OpLoad %9 %21\n" // out.arr[gl_GlobalInvocationId.x] "%22 = OpLoad %9 %21\n" // in.arr[gl_GlobalInvocationId.x]
"%23 = OpAccessChain %17 %5 %12 %20\n" // &out.arr[gl_GlobalInvocationId.x] "%23 = OpAccessChain %17 %5 %12 %20\n" // &out.arr[gl_GlobalInvocationId.x]
"OpStore %23 %22\n" // out.arr[gl_GlobalInvocationId.x] = in[gl_GlobalInvocationId.x] "OpStore %23 %22\n" // out.arr[gl_GlobalInvocationId.x] = in[gl_GlobalInvocationId.x]
"OpReturn\n" "OpReturn\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment