Commit 8adf1fcd by Chris Forbes

OpAccessChain: Remove pointer walking inside loop

This cannot occur. The initial stripping of <base>'s pointer type is already handled outside the loop. Bug: b/124388146 Change-Id: I55ea64e868308bfbab72aaefca0fd367916f6e69 Reviewed-on: https://swiftshader-review.googlesource.com/c/25488Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 6159a856
...@@ -590,10 +590,6 @@ namespace sw ...@@ -590,10 +590,6 @@ namespace sw
break; break;
} }
case spv::OpTypePointer:
typeId = type.element;
break;
default: default:
UNIMPLEMENTED("Unexpected type in WalkAccessChain"); UNIMPLEMENTED("Unexpected type in WalkAccessChain");
} }
......
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