Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gfx-rs/rspirv

Rust implementation of SPIR-V module processing functionalities
https://github.com/gfx-rs/rspirv

Add support for decoding 32/64 bit integer/float literals.

ebb737efd92665da137945b1b96dd154a1e6b9ce authored about 8 years ago
Remove IdResultType & IdResult from mr::Operand.

They are not stored as operands in the memory representation.

c4f8cc33eaa92ff12cad3164267036baa0168a50 authored about 8 years ago
Create dedicated variants for literal integers and floating points.

Only have mr::Operand::LiteralInteger clearly doesn't support all
possible literals for OpConstant.

5d86d284155355243a8ab5c791ae24d53826e2ec authored about 8 years ago
Update README about SPIR-V.

5f1ebdf835f8c841b2b5f3ed35065cacd550684f authored about 8 years ago
Add tests for parsing optional operands and operand parameters.

0ef501c26448cf3ed36cfa2741ef0cabbd3d50d3 authored about 8 years ago
Gnerate operand parsing methods using build.rs.

0506f88978158d05968b67faf3c4166abeb8bd6e authored about 8 years ago
Generate decoding errors using build.rs.

b30207284afa033542ccc85b234dc187917cb09a authored over 8 years ago
Generate operand decoding methods using build.rs.

1de3e0be1e8803d3a71af8cb85b678e60c72c6c0 authored over 8 years ago
Create dedicate functions for writing each generated file.

99dbfe7aabafb2086a2b448de392947941f92160 authored over 8 years ago
Generate operand kinds in memory representation using build.rs.

2bf01b096270513b617d2d6da4dc33b662691d7a authored over 8 years ago
Generate instruction table and operand kind enum using build.rs.

1433a8905c67bf862204bcc5457f3686d69b8b85 authored over 8 years ago
No need to use the return keyword for the last instruction.

d2fa2011f8c9f019ee8b37517f80ffb4010c826e authored over 8 years ago
Format existing code with chain_indent = "Tabbed".

574aafaef7a9ba8a5e61b44f2521bb2c28dcbd97 authored over 8 years ago
Use Rust build.rs to generate the SPIR-V header.

The old Python script for generating the SPIRV-V header is
superseded by the build.rs script, wh...

7a62461b0893981a2dbe6f119777c2540f4b3362 authored over 8 years ago
More tests in the parser for SPIR-V module headers.

d4eaf6c3012a127a8e81a0c4fd160e1ef29e28a3 authored over 8 years ago
Update README,md and Cargo.toml about metadata.

3f6ea5f3e07267c1fe0e59a96bce0ea845724c8b authored over 8 years ago
Travis CI: run tests in the core library.

ff7a03cfcabeccc670e99036d719e14c32bf0d52 authored over 8 years ago
Travis CI: add initial configuration.

f534b3769a0573e39b6b754b47ac575f30f3d677 authored over 8 years ago
Format the existing code with chain_indent = "Visual".

960a2cf48a32bc51a3b76d8353fb2bf17c0b48bd authored over 8 years ago
Rename test_parse_*() to test_parsing_*().

389903e70ae0f7a08c9bf44b98253b145ade9811 authored over 8 years ago
Expose DecodeError in binary.

630e593875e548997d2adb45917fc2597a93f52b authored over 8 years ago
Fix byte offset & instruction number in parse errors and add tests.

* Add a simple module builder to contructing modules for testing.
* Explain more about instructi...

6def276d27ee50d9e40f23ef6a3659f0cb054c58 authored over 8 years ago
Add tests for consumer errors in the parser.

85687d1070c70cdc01f8c0551f77cb9fdda6ae30 authored over 8 years ago
Pull in assert_matches for testing and add start tests for parser.

7ab4dfba303a5e18e1d74706b1731cd77d3882bb authored over 8 years ago
Clarify how decoder bahaves when errors occur and add more tests.

d44297f2c48ae06cee5554c5b476db0825105c04 authored over 8 years ago
Add tests for binary::Decoder.

Test basic word decoding and SPIR-V enum value decoding. And fix
the offset to the word being de...

47490dddcebd713989b9983fa2282781d0c593cb authored over 8 years ago
Convert string::FromUtf8Error to String in binary::Error.

This is a little bit against structed error handling, but it
allows the compiler to generate Par...

d38ef31d31f4bd211190864f8254b68830b21e47 authored over 8 years ago
Prefix id operands with percent symbol.

b4fb43e640e8abc9e48286c7f5785bee6c56b531 authored over 8 years ago
Document the root rspirv crate.

86aedf33f6ab67a35698b96eab4a721c0405294b authored over 8 years ago
Remove uncessary links in documentation.

The code to be documented already has the link embedded.

8deb0b06dcac39121f66c0ba5202dd8e4f6a3c64 authored over 8 years ago
Update README.md.

1d5d23b329ac3e9c02a4a4bc6e5f4828315aba0f authored over 8 years ago
Document the SPIR-V header.

80d805fc8b0b6954e61c2a44b58be786a2e17895 authored over 8 years ago
Document the grammar module.

cb4c3d02ac71cb3abc71208b9c882f2db210da5f authored over 8 years ago
Document mr::Loader.

b8ed49275e78484f6915f8a8b77e66b127e7546d authored over 8 years ago
More documentation for language constructs.

2a1c2cbb2b8e3e7ae509ba36189aa418fb7a47b9 authored over 8 years ago
Document binary::Parser.

1310aef3d06dcf6430d9865ac53565585d87c09e authored over 8 years ago
Document binary::Decoder.

d1544419242b816ec1fb17b7fe6010007a6fb2ec authored over 8 years ago
Mention readme and license in Cargo.toml.

94fe344e6036c23aa9b3bf63bd249980d883705c authored over 8 years ago
Create separate crates for the core library and disassembler.

f7f2af37b1d287d1a97fba1770627542250afb74 authored over 8 years ago
Use expect() instead of unwrap() in main.rs.

6924710cf56dd0ee453165c510874aa787a47520 authored over 8 years ago
Remove unsafe unwrap() calls in binary::Disassemble.

c97ea1da9ff5c4e5f4f82628579d33e34e3cf405 authored over 8 years ago
Remove all unsafe unwrap() calls in mr::Loader.

bfe373c04e58280a2def693f52853b1af68b8cf0 authored over 8 years ago
Implement error::Error and fmt::Display for parser::State.

8a060edcd638c6cd67a2b31f9fa4eb0b3bcdd1f6 authored over 8 years ago
Some more commments for language constructs.

1f6952c770ca3b543f0d2643a4ea613f942381ce authored over 8 years ago
Generate mr::Operand from SPIR-V JSON grammar.

Also add another script to simplify the table updating process.
This new script has hard coded a...

3a98689bd30933970782e678436a7700e3c95b3e authored over 8 years ago
Clean up language constructs and document them.

* Wrap all the required components using Option to allow
flexibility.
* Add documentation for ...

abb8aa38965751d1ae4230408003eec163798d3d authored over 8 years ago
More refinement of error handling in mr::Loader.

* Use macro rules for error handling common control flow pattern.
* Deduplicate description code...

66eaaded9b405bffb86a85a73a92eac932d45ae1 authored over 8 years ago
Use pub use to export Action as ParseAction.

f3dec99e138bc6b3cddd1cf818f819dcb2116d51 authored over 8 years ago
Format using updated rustfmt (0.6.2).

5a836f20bb57553322dca7eebe9ca9f2fe41d578 authored over 8 years ago
Sort out module layout errors for mr::Loader.

* Two more methods are added to the binary::Consumer trait to
indicate parsing begin and end, ...

3fea589b999e521f7d3e23e944f98d937e99a625 authored over 8 years ago
Attach more location data to parse::State.

Also Rename field index to offset in binary::Decoder.

fce5089fa436468413f5b9ae870c45dc786708fb authored over 8 years ago
Add rustfmt.toml and format code to use max line width 80.

41c9df3d4af23bf866ad83c6cbd6ab0e35a2f87c authored over 8 years ago
Use SPIR-V grammar to generate operand parsing methods.

Now in the parser, the main dispatching method for parsing all
kinds of operands and all methods...

b4fde8360bc718616d50766e308bdc87b96df4d4 authored over 8 years ago
Pass in the binary data when constructing binary::Parser.

27c86f2a225dfd407f0fc0ab188a1fb10aa58510 authored over 8 years ago
Unify WordDecoder and OperandDecoder and clean up decoder errors.

Now we can set limit on binary::Decoder, which serves as a way
to segregate the instruction in q...

539973eb924263c7b37020d61a531eff005a42da authored over 8 years ago
Generate binary::Error enum and operand decoding code from grammar.

Now the code for decoding of values for a specific operand kind and
returning the corresponding ...

b75a2e52b3bd737fc555713b042e702f46f4d9e9 authored over 8 years ago
Rename binary::Producer to WordDecoder and move to decoder.rs.

87a6fe2341aa3151e0d66f26fdfe949125401780 authored over 8 years ago
Decouple binary::Parser and mr::Loader.

* Rename binary::Reader to binary::Parser.
* Create the binary::Consumer trait. binary::Parser w...

e6479e4eae1c8cb9a5e1e05745d6e539ecf5de9c authored over 8 years ago
Update the script for generating instruction tables.

* Update SPIR-V to version 1.1.2.
* IdType is renamed to IdResultType.
* Scope and MemorySem...

079b9c03025e1e4781c81cb7ee81f4442b4b1dba authored over 8 years ago
Update script for generating spirv.rs.

* Update SPIR-V to 1.1.3.
* Make constants public.
* Derive Eq for all enums.

7de60e9ab6d0bcb8765696a79fab90c38fffce88 authored over 8 years ago
Start README.md.

9843c6062c1bab7d919c2283c33bb39802236afb authored over 8 years ago
Add CONTRIBUTING.md.

d22a916fda0fab777dad5473b29682ae1ca7c546 authored over 8 years ago
Add LICENSE and copyright.

fa51f80334bba61d1da32fd01455cf77b6ef55eb authored over 8 years ago
Add the Disassemble trait.

Now we can disassemble a given binary into the format defined by
SPIRV-Tools.

For clarity, extr...

9b5cff56cdf53943a3907b3e37fa94ced32561b3 authored over 8 years ago
Create a separate module for SpirvOperandDecoder in binary module.

0a28f9e8e5c7e40e15683898eef6966c1221ec4d authored over 8 years ago
Rename SpirvWordDecoder to SpirvOperandDecoder.

30cff9aa290edd712c8e304ea2dd0f0726a0475b authored over 8 years ago
Rename mr::Builder to mr::Loader since it just loads a binary.

0f501d7b3913b985cb54a80afe3f780f633b4dd6 authored over 8 years ago
Make binary::Producer can only be used one time.

53625d9c19c1a1d75a608c5150354b36a82c8e9b authored over 8 years ago
Make mr::Builder can only be used for one time.

c85ae9c8f910eb29ae57e405137388465ff3a4e8 authored over 8 years ago
Construct function and basic block in memory representation.

1983134c3d42eecfde35de3bfbfdabb2f7530288 authored over 8 years ago
Populate contents for sections before functions in mr::Module.

d2031ee6b465c74aa6b47b283028f803d0c7297b authored over 8 years ago
Delete unused method and enable debug pretty print.

a684c28749fa6366e2bb5432c401e09bdec809e2 authored over 8 years ago
Clean up state/error structs.

67215c4cb1179eec5c0e7c197faadd3ee48da794 authored over 8 years ago
decode_words_to_operands() to return result and type separately.

7db0d48f1deff6469ca9ae4113eab8d3972fa141 authored over 8 years ago
Remove null characters at the end of strings.

c8ee6fe236a499bd148ef5a2eb66bbf915b02faf authored over 8 years ago
Store decoded capability and name into mr::Module.

668e5f5acc8280d9a36c960ddd5af3608018d931 authored over 8 years ago
Drop patch version in dependencies.

0bfaa8d1e7740c2c3a27c40c5a27d8159aa1d0dc authored over 8 years ago
Ignore .bk files created by rustfmt.

5c5749c830b269dfe2b8bde5e82068439e8a2585 authored over 8 years ago
Accept more operand kinds in decode_words_to_operands().

903ffa7c769acdff860c4c63077cf6f12cc14640 authored over 8 years ago
Use bitflags! to define bit mask operand kinds in SPIR-V.

399e8fd27ea807f04567f05e082d8f50eb28e2a3 authored over 8 years ago
Rename mr/struct.rs to mr/constructs.rs and use shorter names.

98419cdeec06f90b95689138313da6c706c90d2c authored over 8 years ago
Add mechanism to decode words according to instruction syntax.

5be2c15314f610bd6cecd1a457aa00985fa0cd18 authored over 8 years ago
Pull in num & num-macros to support converting from u32 to enums.

417235ac3bfacb73fa2b27321a2423d0d0cd692f authored almost 9 years ago
Let git ignore *.pyc.

e592bcc98729c3ceb59cb3e7d9d9a18f2c7f2a4e authored almost 9 years ago
Add scaffold for looping over all instructions in the module.

cd03654e23a0205e380bb77d129dd810cbf213b4 authored almost 9 years ago
Remove code related to OperandType.

ebf0dacf4957a5bcb41da4f94930bc531b6960da authored almost 9 years ago
Generate SPIR-V instructions and operand kinds from the grammar file.

8c33921a3438a55bf06832e04bcd1933681dc2fb authored almost 9 years ago
Remove the dependency of nom.

* The producer and consumer interface in nom streams are not
stable yet.
* It's quite complica...

c4df5a3e4a98df2d1b10f0de0e174c6b882680c8 authored almost 9 years ago
Add utility script for generating operand_type.rs.

639f51eec7492316315ff1f9ab66f66053891ba6 authored almost 9 years ago
Update spirv.rs: enums should be represented by u32.

bf80a4b8339510b0bfd9cfde67a31ca15cb1bd44 authored almost 9 years ago
Reorganize and rename source files.

5aae4ade342703cf7e8c884c59a2814b2bd8f64a authored almost 9 years ago
Use iterator instead of manually looping and ignore unused variable.

4ac3a91f0b5572c0dd2efcf973060f87b44a5e27 authored almost 9 years ago
Add function and basic block types into memory representation.

226ee45d4a3b498ed294245a9de48ee856581642 authored almost 9 years ago
Allow deadcode and non-camel-case types in spirv.rs.

694bd12a17bd2c17afe8c9fc1ea576607f7ba20d authored almost 9 years ago
First workable SPIR-V binary disassembler.

bd129d54bd956270d7552501089062a8b348d5b7 authored almost 9 years ago
Comply with rust constant naming convention when generating spirv.rs.

7a712064d327d248837bf25ad91eec467ea7f85b authored almost 9 years ago
Add scripts for generating spirv.rs and its output.

7ea8b25be935fca1be3d6ffedb54f2a6a300bb9d authored almost 9 years ago