commit | 77a09d9160b2b911862a20002bc92fdb010855f0 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed May 27 09:51:25 2020 +0100 |
committer | Ben Clayton <bclayton@google.com> | Tue Jun 02 18:19:31 2020 +0000 |
tree | 690c4ab797d5681995875839aeea5866e21fa061 | |
parent | fbb12e1932ac24583652c263049c7a4a90997fee [diff] |
SpirvShaderDebugger: Don't display SSAs for array types Arrays are still WIP. While I'm still working on these, don't fall through to the SSA handler. This can dramatically affect performance for large arrays. Bug: b/148401179 Change-Id: I77e972f13cf9a1ce2b0d47a883194b6bceb68f4b Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/45351 Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
diff --git a/src/Pipeline/SpirvShaderDebugger.cpp b/src/Pipeline/SpirvShaderDebugger.cpp index 0b9731f..0f60f85 100644 --- a/src/Pipeline/SpirvShaderDebugger.cpp +++ b/src/Pipeline/SpirvShaderDebugger.cpp
@@ -1355,6 +1355,7 @@ else if(auto ty = debug::cast<debug::ArrayType>(type)) { // TODO(bclayton): Expose array types. + return; } else {