Commit Graph

  • 10fa696af7 Allow Op[No]Line between OpFunctionParameters. Dejan Mircevski 2016-02-03 10:26:59 -05:00
  • 6428933408 Enable ctest. Dejan Mircevski 2016-02-02 14:41:35 -05:00
  • adb8725900 Validation of mask operand capabilities is more data driven David Neto 2016-02-02 12:12:48 -05:00
  • b5267569d1 Add spvOperandIsConcreteMask David Neto 2016-02-02 12:05:34 -05:00
  • 0c8bdfe163 Use AssemblyGrammar for capability validation. Dejan Mircevski 2016-01-30 23:32:09 -05:00
  • 5f99fc33cd Forbid Generic variables. Dejan Mircevski 2016-01-29 16:49:40 -05:00
  • 7dbfdda609 Fix validator mem overflow when tracking capabilities qining 2016-01-29 12:09:34 -05:00
  • 8177fbea06 Fix in-function storage class validation. Dejan Mircevski 2016-01-28 22:20:28 -05:00
  • 8db38e547b Initialize vector<string>s on first use, not statically. Dejan Mircevski 2016-01-28 13:18:00 -05:00
  • 1e157bc2e8 Fix validation of return value. Dejan Mircevski 2016-01-22 16:52:40 -05:00
  • a4342f3f44 Remove spvOpcodeIsObject(). Dejan Mircevski 2016-01-22 14:27:00 -05:00
  • 61a627586b Initial capability implementation and unit tests Umar Arshad 2016-01-23 14:14:32 -05:00
  • 3fade33c06 Qualify CMake function names with "spvtools" to avoid conflictions. Lei Zhang 2016-01-26 18:04:55 -05:00
  • 276a724b25 Fix spvOpcodeIsScalarType() to include Boolean. Dejan Mircevski 2016-01-21 15:55:43 -05:00
  • 0846e1745f Don't fail validation in unimplemented cases. Dejan Mircevski 2016-01-21 09:03:58 -05:00
  • 58852aa012 Fix OpLoad pointee type validation. Dejan Mircevski 2016-01-21 09:00:15 -05:00
  • c62f41e281 Add disassembler option to show byte offset David Neto 2016-01-18 15:29:15 -05:00
  • 961f5dc544 Track uses and defs during parsing. Dejan Mircevski 2016-01-15 11:25:11 -05:00
  • 383c83729e Since g++-4.9 has an ICE occasionally in travis add a retry. Andrew Woloszyn 2016-01-19 16:13:45 -05:00
  • 2a790fbc6d Fix missing OpNoLine layout checks Umar Arshad 2016-01-18 13:41:52 -05:00
  • e8b1d12c2f Disable warnings C4503 on MSVC for test code David Neto 2016-01-15 10:43:39 -05:00
  • 1ddeb246eb Validation refactor Umar Arshad 2016-01-13 23:25:11 -05:00
  • 866b6ab9da Add configuration for Travis CI. Lei Zhang 2016-01-06 23:55:16 -05:00
  • fa3b878119 Add missing branch instructions in SSA tests Umar Arshad 2016-01-14 09:48:29 -05:00
  • 74a731add4 Remove static vector from GetModuleOrder Umar Arshad 2016-01-09 17:25:36 -05:00
  • b345135990 Fixed warning in VS2013 build. Andrew Woloszyn 2016-01-13 10:44:05 -05:00
  • 32197bdcd7 Fix, that spirv-tools did not build, as two casts are not present. Norbert Nopper 2016-01-13 10:35:44 +01:00
  • 433285626e Fix build by renaming ValidationState_t constructor argument. Dejan Mircevski 2016-01-13 09:52:23 -05:00
  • c741385976 Function and block layout checks. very basic CFG. Umar Arshad 2015-12-15 21:44:21 -05:00
  • ca50510ad4 Fixed use-after-free in isStartOfNewInst() tests. Andrew Woloszyn 2016-01-12 14:47:24 -05:00
  • 7ffd8ffeb2 Minor fixes to remove warnings in VS2013. Andrew Woloszyn 2016-01-11 16:22:34 -05:00
  • 5d30edb36d spvDiagnosticDestroy is safe to call on nullptr David Neto 2016-01-11 12:28:19 -05:00
  • 3b69d05086 Fix endian-ness conversion in the binary parser. Andrew Woloszyn 2016-01-11 13:54:30 -05:00
  • 7a35473573 Made compilation with gcc and clang more strict. Andrew Woloszyn 2016-01-11 10:54:20 -05:00
  • 43401d2ed0 Support 16-bit float in assembler and disassembler Andrew Woloszyn 2016-01-08 09:54:42 -05:00
  • b6fe02fc39 Extend copyright to 2016. Dejan Mircevski 2016-01-07 13:44:22 -05:00
  • 3e6b2dfa69 Undefine a macro after use. Dejan Mircevski 2016-01-07 11:00:38 -05:00
  • ae7d707fdb Fix shadowing warnings reported by GCC David Neto 2016-01-06 14:43:55 -05:00
  • ba73a7cee5 Fix conversion warnings reported by GCC. David Neto 2016-01-06 13:08:39 -05:00
  • 066bd524a2 Explicitly convert to narrower type. David Neto 2016-01-05 14:57:58 -05:00
  • 677e0c7b49 Avoid variable shadowing David Neto 2016-01-05 14:56:02 -05:00
  • 095a41aca8 Avoid warning for implicit conversion of char array to bool. David Neto 2016-01-05 14:49:08 -05:00
  • f80b51fa9b Fix var shadowing and width mismatches in hex_float.h David Neto 2016-01-05 11:25:11 -05:00
  • d47f8b3fd8 Avoid parameter shadowing in source/diagnostic.h David Neto 2016-01-04 17:27:34 -05:00
  • 969ce4b323 Fix list of opcodes allowed for OpSpecConstantOp David Neto 2016-01-05 18:22:22 -05:00
  • d0de196439 operator<< on FloatProxy preserves float and fill David Neto 2016-01-05 12:45:54 -05:00
  • 3664bd5670 Fix parser assert failure for a bad OpSwitch David Neto 2015-12-23 13:21:43 -05:00
  • 1a3734d265 Avoid relative path in #include David Neto 2015-12-22 15:15:46 -05:00
  • 4c21571728 Rename endian.h to spirv_endian.h David Neto 2015-12-22 15:08:41 -05:00
  • 224348faf0 Add spirv.py from the SPIR-V 1.0.2 registry David Neto 2015-12-07 13:54:20 -05:00
  • a3d0d3c719 Initial logical layout validation Umar Arshad 2015-12-15 14:50:05 -05:00
  • 6d37e3c5f3 Refactor validation types into another file Umar Arshad 2015-12-14 08:21:08 -05:00
  • 532af9c09c Fix tests which rely on OpName;Use EXPECT_THAT Umar Arshad 2015-12-14 10:57:15 -05:00
  • b9ad418c95 Fix warnings with Apple clang++ Umar Arshad 2015-12-10 11:56:34 -05:00
  • 411de16386 Fix setting of off-by-default cmake options David Neto 2015-12-09 11:40:56 -05:00
  • f76e0f5231 Basic SSA Validation Umar Arshad 2015-11-18 15:43:43 -05:00
  • 4e5bc928c0 Added Float16, and HexFloat conversions Andrew Woloszyn 2015-12-03 16:30:21 -05:00
  • 4b6a98fe16 Fix namespace on PrintTo David Neto 2015-12-02 11:55:35 -05:00
  • 590ff131ac PrintTo on WordVector should preserve the fill char David Neto 2015-11-30 18:10:13 -05:00
  • 5947c40483 Stated word count is several more than expected David Neto 2015-12-01 16:45:46 -05:00
  • 66f649d501 Use static_cast instead of constructor for uint32_t David Neto 2015-12-01 16:19:44 -05:00
  • 39fa148234 OpDecorate should not accept any number of literal operands. David Neto 2015-11-30 14:39:31 -05:00
  • 36909c05a5 binary parse test: extra words after string literal David Neto 2015-11-30 13:45:20 -05:00
  • 292acb5b41 Don't add -frtti for tests. Use newer googletest. David Neto 2015-12-01 12:01:59 -05:00
  • bdc50b5d62 Add -frtti for tests that use mocking David Neto 2015-12-01 10:01:33 -05:00
  • 15aebef8a0 Merge PR #32. Dejan Mircevski 2015-11-30 18:05:21 -05:00
  • 7a3a459af5 Mention that ParsedInstruction owns its components. Dejan Mircevski 2015-11-30 11:21:09 -05:00
  • d9ad050a95 spvBinaryParse: fix overruns, handle image format David Neto 2015-11-24 18:37:24 -05:00
  • ee8a007810 Clarify the non-SPV_SUCCESS case parser callbacks. David Neto 2015-11-24 16:23:08 -05:00
  • 750f205b63 Several unit tests for spvBinaryParse David Neto 2015-11-05 17:14:13 -05:00
  • c9e0845c7f Aliasing through a union member is valid. David Neto 2015-11-23 15:15:41 -05:00
  • 15afbf9372 Fix compilation of an assert. David Neto 2015-11-23 14:17:35 -05:00
  • 7bff3eb6f9 spv_parsed_instruction_t cleanup David Neto 2015-11-20 14:21:10 -05:00
  • 01c8d7a8fb Merge pull request #23. Ben Vanik 2015-11-22 08:32:53 -08:00
  • 01656363a7 Put DiagnosticStream and clr exports in libspirv namespace David Neto 2015-11-20 10:44:41 -05:00
  • 9e53117061 Fix paths for binaries to match changes in CMake configuration. Lei Zhang 2015-11-20 09:44:13 -05:00
  • 39a83291fc Use test fixture for a test. Lei Zhang 2015-11-19 10:30:39 -05:00
  • 5b9fff7175 Removed executable flag from HexFloat.cpp. Andrew Woloszyn 2015-11-19 10:12:44 -05:00
  • 3958c90277 Updated spirv.h header. Fixes SPV_VERSION macro David Neto 2015-11-19 09:38:05 -05:00
  • 3a4bc7e61a Turned warnings-as-errors on by default. Andrew Woloszyn 2015-11-19 09:22:53 -05:00
  • 8bd75d650e Clean up CMake configuration and address compiler warnings. Lei Zhang 2015-11-18 09:22:10 -05:00
  • 64a9be97ca Remove old names for enums: memory semantics, scope ID David Neto 2015-11-18 15:48:32 -05:00
  • 8ddd4ec102 Bottom byte of version header word should be 0 David Neto 2015-11-17 16:37:10 -05:00
  • 01a3b9ce36 CMake: Respect user-defined install path Pierre Moreau 2015-11-17 23:27:35 +01:00
  • 748d585a9a Object files should depend on spirv.h and friends David Neto 2015-11-17 18:00:56 -05:00
  • aa50c45e3b Fix test: version number has changed. Lei Zhang 2015-11-17 16:46:55 -05:00
  • 62fcaf1a74 Update external headers. Lei Zhang 2015-11-17 16:00:53 -05:00
  • af9906e4e5 Use Google comment style and fix typos. Lei Zhang 2015-11-16 10:48:43 -05:00
  • 287cfc1dd7 Fix grammar: "The SPIR-V Tools project provides" David Neto 2015-11-14 08:23:03 -06:00
  • 2266ba1061 Register Glslang tool David Neto 2015-11-13 12:03:28 -06:00
  • acf7287c42 Fix many typos. Lei Zhang 2015-11-13 11:00:10 -05:00
  • 56fb3f016b Revamp the README for public release. David Neto 2015-11-12 20:42:16 -05:00
  • 3d348a8440 The version header word has 3 byte-size components. David Neto 2015-11-12 19:40:21 -05:00
  • 14b93e49ed Generator word now has two 16-bit components David Neto 2015-11-12 18:33:47 -05:00
  • 5f7ed91e18 Support capabilities StorageImageReadWithoutFormat David Neto 2015-11-12 15:44:25 -05:00
  • df3ea3c5de Disassembler can read the binary from stdin. David Neto 2015-11-12 11:57:41 -05:00
  • 12511c8a4f Add GeometryStreams capability David Neto 2015-11-12 15:30:28 -05:00
  • 0c6cf8cdff Support OpImage David Neto 2015-11-11 16:36:42 -05:00
  • 972788bf23 Use opaque context object to hold SPIR-V info tables. Lei Zhang 2015-11-12 13:48:30 -05:00
  • 321c3e206b Remove an obselete and redundant text. Lei Zhang 2015-11-12 14:42:03 -05:00