SPIRV-Tools/source/diff
jeremyg-lunarg b362d2b7d4
spirv-diff: Fix asserts in ComparePreambleInstructions() (#4872)
These asserts are not valid for string literals, which may
contain several words:
  assert(a_operand.words.size() == 1);
  assert(b_operand.words.size() == 1);

It looks like they only make sense for the default case, which
assumes that both operands contain a single word.

Running a debug version of spirv-diff on any shader containing
a string literal will hit the original asserts.
2022-08-04 16:44:15 +00:00
..
CMakeLists.txt Introduce spirv-diff (#4611) 2022-02-02 10:33:18 -05:00
diff.cpp spirv-diff: Fix asserts in ComparePreambleInstructions() (#4872) 2022-08-04 16:44:15 +00:00
diff.h Introduce spirv-diff (#4611) 2022-02-02 10:33:18 -05:00
lcs.h Stabilize the output of spirv-diff (#4698) 2022-02-07 09:37:04 -05:00