Commit Graph

196 Commits

Author SHA1 Message Date
Steven Perron
615918c91d Update CHANGES 2019-10-21 14:15:36 -04:00
Steven Perron
c3ca047419 Update CHANGES 2019-10-09 09:43:01 -04:00
Steven Perron
9b3cc3e053 Upadate CHANGES 2019-09-03 15:51:46 -04:00
Jaebaek Seo
dac9210dcb Use ascii code based characters (#2796)
My local python reports that CHANGES uses a non-ascii code
character and fail in running utils/update_build_version.py.
2019-08-15 08:46:59 -04:00
Steven Perron
22ce39c8e1 Start SPIRV-Tools v2019.5 2019-08-08 10:57:18 -04:00
Steven Perron
d65513e92c Finalize SPIRV-Tools v2019.4 2019-08-08 10:55:48 -04:00
Steven Perron
c26c2615f3 Update CHANGES 2019-08-08 10:52:01 -04:00
Steven Perron
84aa4946ed Start SPIRV-Tools v2019.4 2019-05-15 15:10:21 -04:00
Steven Perron
ce19e217bc Finalize SPIRV-Tools v2019.3 2019-05-15 15:08:51 -04:00
Steven Perron
f815e6fe51 Update CHANGES 2019-05-14 10:06:35 -04:00
Steven Perron
26c1b88783 Update CHANGES 2019-04-03 13:22:54 -04:00
Steven Perron
5994ae2a04 Start SPIRV-Tools 2019.3 2019-02-20 11:05:57 -05:00
Steven Perron
61dfd8492b Finalize SPIRV-Tools 2019.2 2019-02-20 11:04:41 -05:00
Steven Perron
80496f42a5 Update CHANGES 2019-02-19 12:54:42 -05:00
Steven Perron
ee95ab15ce Start SPIRV-Tools v2019.2 2019-01-07 15:51:06 -05:00
Steven Perron
2297d4a3df Finalize SPIRV-Tools v2019.1 2019-01-07 15:48:55 -05:00
Steven Perron
04cc2b15bc Update CHANGES 2019-01-07 10:13:15 -05:00
Steven Perron
248debf55a Update CHANGES 2018-12-10 14:33:14 -05:00
Steven Perron
e121da8425 Start SPRIV-Tools v2018.7 2018-11-07 09:40:35 -05:00
Steven Perron
9d699f6d40 Finalize SPIRV-Tools v2018.6 2018-11-07 09:39:51 -05:00
Steven Perron
e8f22d145f Update CHANGES 2018-11-07 09:39:14 -05:00
Steven Perron
07d0f9dff3 Update CHANGES 2018-10-22 15:10:53 -04:00
Steven Perron
2a88bcbaff Update CHANGES 2018-10-02 11:28:17 -04:00
Steven Perron
d3738be347 Update CHANGES 2018-09-27 10:11:52 -04:00
David Neto
3e38c99f5d Start SPIRV-Toosl v2018.6-dev 2018-09-07 11:42:12 -04:00
David Neto
b4cb01c7c4 Finalize SPIRV-Tools v2018.5 2018-09-07 11:40:56 -04:00
David Neto
03896b05c1 Update CHANGES 2018-09-07 11:40:14 -04:00
David Neto
0d8156ace3 Update CHANGES 2018-08-01 10:29:43 -04:00
David Neto
85d3715725 Update CHANGES 2018-07-18 10:58:22 -04:00
David Neto
4470ff49ac Update CHANGES 2018-07-11 13:51:01 -04:00
David Neto
50312ca146 Start SPIRV-Tools v2018.5-dev 2018-07-08 12:53:46 -04:00
David Neto
f508896d64 Finalize SPIRV-Tools v2018.4 2018-07-08 12:50:46 -04:00
David Neto
9de00c95f7 Update CHANGES 2018-07-08 12:49:51 -04:00
David Neto
035afb899c Update CHANGES 2018-06-11 11:08:52 -04:00
David Neto
6b83643cfe Start v2018.4-dev 2018-05-25 22:14:30 -04:00
David Neto
545d6ca26d Finalize v2018.3 2018-05-25 22:12:25 -04:00
David Neto
6a986d02a7 Update CHANGES 2018-05-25 21:58:26 -04:00
David Neto
5f53c42a1e Update CHANGES 2018-04-06 16:42:56 -04:00
David Neto
ac43466853 Start v2018.3 development 2018-03-07 17:13:18 -05:00
David Neto
8d8a71278b Finalize v2018.2 2018-03-07 17:11:50 -05:00
David Neto
a0da44efbc Update CHANGES 2018-03-07 17:10:13 -05:00
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
David Neto
51b6778379 Update CHANGES: note fix of issue 629 2017-05-12 17:35:18 -04:00
David Neto
1d8efb02ed Update CHANGES with recent news 2017-04-20 15:54:10 -04:00
David Neto
11a867f412 Add FlattenDecoration transform
Add --flatten-decorations to spirv-opt

Flattens decoration groups.  That is, replace OpDecorationGroup
and its uses in OpGroupDecorate and OpGroupMemberDecorate with
ordinary OpDecorate and OpMemberDecorate instructions.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/602
2017-04-06 11:19:56 -04:00
David Neto
afc60bbebf Fix optimizer on when to write the binary
The spvtools::Optimizer::Run method should also write the output binary
if optimization succeeds without changes but the output binary vector
does not have exactly the same contents as the input binary.
We have to check both the base pointer of the storage and the size of
the vector

Added a test for this too.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/611
2017-04-03 15:48:50 -04:00
David Neto
6cd4517730 Mention inliner in CHANGES 2017-03-29 18:02:40 -04:00
Ehsan Nasiri
da4ae05638 Add command line options struct for the validator
The limit for the number of struct members is parameterized using
command line options.

Add --max-struct-depth command line option.
Add --max-switch-branches command line option.
Add --max-function-args command line option.
Add --max-control-flow-nesting-depth option.
Add --max-access-chain-indexes option.
2017-02-28 12:00:06 -05:00
David Neto
e3632a26b4 Update CHANGES for SPV_KHR_16bit_storage validator 2017-02-28 11:53:05 -05:00
Adam Van Ymeren
c0949703b1 Fixes issue #548
Add validation checks for the reserved OpImageSparseSampleProj* opcodes.
2017-02-16 16:32:33 -05:00
David Neto
dadd5161bb Check strict domination of merge block
If a merge block is reachable, then it must be *strictly* dominated
by its header.  Until now we've allowed the header and the merge
block to be the same.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/551

Also: Use dominates and postdominates methods on BasicBlock to
improve readability.
2017-02-10 12:26:10 -05:00