Log SPIR-V assembly source.
We weren't previously logging the source of a SPIR-V module, which made
it hard to debug compilation errors.
Extend executor to handle the new XML element.
Bump the log-format version to 0.3.4.
Change-Id: I4ace0a88820d08febd0500c60d1f2fe97b635635
diff --git a/executor/xeTestCaseResult.hpp b/executor/xeTestCaseResult.hpp
index 76c028c..11d68ce 100644
--- a/executor/xeTestCaseResult.hpp
+++ b/executor/xeTestCaseResult.hpp
@@ -142,6 +142,7 @@
TYPE_SHADER,
TYPE_SHADERPROGRAM,
TYPE_SHADERSOURCE,
+ TYPE_SPIRVSOURCE,
TYPE_INFOLOG,
TYPE_EGLCONFIG,
TYPE_EGLCONFIGSET,
@@ -289,6 +290,15 @@
std::string source;
};
+class SpirVSource : public Item
+{
+public:
+ SpirVSource (void) : Item(TYPE_SPIRVSOURCE) {}
+ ~SpirVSource (void) {}
+
+ std::string source;
+};
+
class InfoLog : public Item
{
public: