Commit Graph

105 Commits

Author SHA1 Message Date
David Neto
fe21921629 Start v2018.2 development 2018-03-02 14:30:49 -05:00
David Neto
6432a129f8 Finalize v2018.1 2018-03-02 14:30:49 -05:00
David Neto
a7cec7843c Update CHANGES 2018-03-02 14:01:28 -05:00
David Neto
b08b94ec0a Update CHANGES 2018-02-27 11:48:40 -05:00
David Neto
c452bfd054 Update CHANGES 2018-02-06 11:47:44 -05:00
David Neto
1c0056c339 Start v2018.1-dev 2018-02-02 11:27:07 -05:00
David Neto
c430a41ae3 Finalize v2018.0 2018-02-02 11:25:58 -05:00
David Neto
bcd4f23930 Update CHANGES 2018-02-02 11:23:33 -05:00
David Neto
38f297c194 Update CHANGES 2018-01-30 17:47:00 -05:00
Alan Baker
80b743a570 Adding support for switch removal in ADCE
* Updated code to handle switches
* Enabled disabled test and added a couple new ones
2018-01-17 11:05:42 -05:00
David Neto
ae6daeed99 Update CHANGES 2018-01-16 22:52:39 -05:00
David Neto
ba017f79b2 Update CHANGES 2018-01-12 18:52:42 -05:00
David Neto
86dec646f5 Start v2018.0-dev 2018-01-12 13:33:43 -05:00
David Neto
902ed46f6f Finalize v2017.3 2018-01-12 13:32:04 -05:00
David Neto
8e0051c781 Update CHANGES 2017-12-21 10:42:46 -05:00
David Neto
88409b7262 Fix CHANGES: there is no OpImageSparseWrite 2017-12-19 18:30:10 -05:00
David Neto
2e5672dcfb Update CHANGES for recent changes 2017-12-19 17:50:01 -05:00
David Neto
736103404e Start v2017.3-dev 2017-12-15 18:24:41 -05:00
David Neto
1ccfb5803a Finalize v2017.2 2017-12-15 18:23:49 -05:00
Stephen McGroarty
8ba68fa9b9 Dominator Tree Analysis (#3)
Support for dominator and post dominator analysis on ir::Functions. This patch contains a DominatorTree class for building the tree and DominatorAnalysis and DominatorAnalysisPass classes for interfacing and caching the built trees.
2017-12-05 22:59:43 -05:00
Andrey Tuganov
c170afd93b Relaxed OpImageWrite texel type check 2017-11-24 14:31:08 -05:00
David Neto
e1a6f8d1c3 Update CHANGES to mention fixes for 1007 and 1009 2017-11-24 10:17:13 -05:00
Alan Baker
0cae89e79e Notify the context of instructions that are being erased.
Fixes use-after-free error in RemoveDuplicatesPass

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/1004
2017-11-23 23:43:25 -05:00
David Neto
b0a7037886 Start v2017.2-dev 2017-11-23 18:16:41 -05:00
David Neto
493c0883af Finalize 2017.1
Updated CHANGES to cover main updates since 2017.0
2017-11-23 18:16:04 -05:00
David Neto
76555bd4ba Tests: Add optional dependency on Effcee stateful matcher
Add Effcee as an optional dependency for use in tests.  In future it will
be a required dependency.

Effcee is a stateful pattern matcher that has much of the functionality
of LLVM's FileCheck, except in library form.  Effcee makes it much easier
to write tests for optimization passes.

Demonstrate its use in a test for the strength-reduction pass.

Update README.md with example commands of how to get sources.

Update Appveyor and Travis-CI build rules.

Also: Include test libraries if not SPIRV_SKIP_TESTS
- SPIRV_SKIP_TESTS is implied by SPIRV_SKIP_EXECUTABLES
2017-11-13 11:34:21 -05:00
David Neto
1affe5a3ee Describe public_spirv_tools_dev@khronos.org mailing list 2017-11-06 11:07:46 -05:00
David Neto
6eaaf7b5f2 Update CHANGES to reflect fix for #827 2017-09-27 10:03:20 -04:00
Andrey Tuganov
64d5e5214f Add bitwise operations validator pass
The pass checks correctness of operand types of all bitwise instructions
(opcode range from SpvOpShiftRightLogical to SpvOpBitCount).
2017-09-26 14:22:37 -04:00
David Neto
d84df94608 Update CHANGES with recent news 2017-09-26 11:30:57 -04:00
Andrey Tuganov
c25b5bea35 Add SPIRV_SPIRV_COMPRESSION option to cmake
The option is off by default.
cmake -DSPIRV_BUILD_COMPRESSION=ON ..
enables the compression lib, executable, and test build.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/834
2017-09-25 14:37:08 -04:00
David Neto
a91cecfefc Recognize SPV_AMD_shader_fragment_mask 2017-09-14 10:37:18 -04:00
David Neto
4442102247 Update CHANGES for OpModuleProcessed validation rule 2017-09-08 09:16:15 -04:00
David Neto
40e9c60ffe spirv-as: Fail for unrecognized long option
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/798
2017-09-05 19:49:59 -04:00
David Neto
25ddfec08e Inliner: Fix LoopMerge when inline into loop header of multi block loop
This adapts the fix for the single-block loop.  Split the loop like
before.  But when we move the OpLoopMerge back to the loop header,
redirect the continue target only when the original loop was a single
block loop.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/800
2017-09-05 19:46:24 -04:00
Andrey Tuganov
82df4bbd68 Add validation pass for arithmetic operations
The pass checks if arithmetic operations (such as OpFMul) receive
correct operands.
2017-09-05 12:21:53 -04:00
David Neto
7e2d26c77b Starge v2017.1-dev 2017-09-01 16:28:22 -04:00
David Neto
d16403afb2 Create v2017.0
Update README to describe that we understand SPIR-V syntax based on the
grammar files included from the SPIRV-Headers repo.

(Also, it's high time we issue a v2017 release!
2017-09-01 16:26:09 -04:00
David Neto
a0977e8632 Finalize v2016.7 2017-09-01 16:14:25 -04:00
David Neto
f241374301 Update CHANGES for recent inliner fixes 2017-09-01 16:13:12 -04:00
David Neto
d843cae48b Update CHANGES for fix to 781 2017-09-01 10:15:42 -04:00
David Neto
fc60d1e758 Update CHANGES for fix to 776 2017-08-30 14:25:23 -04:00
David Neto
9090da5fac Update changes for fix to issue 782 2017-08-29 23:22:07 -04:00
David Neto
720869bb52 Update CHANGE to list fix for issue 755 2017-08-10 13:13:33 -04:00
David Neto
95a600cd8d Update CHANGES with common uniform loads pass 2017-08-04 17:48:22 -04:00
David Neto
15612fe028 Update CHANGES with recently added optimizations 2017-08-02 13:21:16 -04:00
David Neto
35a0695844 Include memory and semantics IDs when iterating over inbound IDs
Fixes Instruction::ForEachInId so it covers
SPV_OPERAND_TYPE_MEMORY_SEMANTICS_ID and SPV_OPERAND_TYPE_SCOPE_ID.
Future proof a bit by using the common spvIsIdType routine.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/697
2017-07-05 10:36:57 -04:00
David Neto
826d968a63 Update CHANGES to say we use GNUIntallDirs 2017-07-04 12:28:11 -04:00
David Neto
0b0454c42c Update CHANGES
- Describe support for AMD extensions
- Describe recently added optimizer passes
2017-06-22 10:22:55 -04:00
David Neto
dbc2049aa3 Add SPIR-V 1.2 support, for OpenCL 2.2 2017-05-15 17:10:07 -04:00