Andrew Woloszyn
4c657bfa8f
Make everything compile cleanly with -Wpedantic.
...
This makes SPIRV_WARN_EVERYTHING compile cleanly.
2016-03-21 10:01:13 -04:00
Lei Zhang
b6ccd0d891
Remove spv_validate_options_t and change tests accrodingly.
...
Users always want to run all the checks. The spv_validate_options_t
mechanism, which provides little benefits to users, complicates the
internal implementation and also makes the tests exercise different
paths as users do.
Right now the tests are more like integration tests instead of
unit tests, which should be our next refactoring aim.
2016-02-23 16:19:33 -05:00
David Neto
53075ea82b
Add MultiViewport capability, new in 1.0.3
...
Fix typos in previous tests with MultiViewport.
2016-02-17 15:29:05 -05:00
David Neto
dd8a661b70
Update capabilities for 1.0 Rev3
2016-02-16 16:44:45 -05:00
Dejan Mircevski
0c8bdfe163
Use AssemblyGrammar for capability validation.
...
Also:
- ForEach() for spv_capability_mask_t.
- Add capability min/max constants.
- Move max definition from validate_types.cpp to spirv_definition.h.
2016-02-02 11:40:05 -05:00
Dejan Mircevski
5f99fc33cd
Forbid Generic variables.
2016-01-29 17:08:41 -05:00
Dejan Mircevski
8db38e547b
Initialize vector<string>s on first use, not statically.
2016-01-28 13:18:00 -05:00
Umar Arshad
61a627586b
Initial capability implementation and unit tests
...
* Register capabilility and checks
* Add validate storage class capabilities checks and tests
* Instruction pass refactor
- More generic form of capability checking by checking operands
instead of instructions
* Execution Model capabilities checks
* Decorate BuiltIn capability checks
* Addressing Model capability checks
* Memory Model capability checks
* Execution Mode capability checks
* Dim capability checks
* SamplerAddressingMode capability checks
2016-01-27 08:37:23 -05:00