SPIRV-Tools/tools
Alastair Donaldson 8d4261bc44
spirv-fuzz: Introduce TransformationContext (#3272)
Some transformations (e.g. TransformationAddFunction) rely on running
the validator to decide whether the transformation is applicable.  A
recent change allowed spirv-fuzz to take validator options, to cater
for the case where a module should be considered valid under
particular conditions.  However, validation during the checking of
transformations had no access to these validator options.

This change introduced TransformationContext, which currently consists
of a fact manager and a set of validator options, but could in the
future have other fields corresponding to other objects that it is
useful to have access to when applying transformations.  Now, instead
of checking and applying transformations in the context of a
FactManager, a TransformationContext is used.  This gives access to
the fact manager as before, and also access to the validator options
when they are needed.
2020-04-02 15:54:46 +01:00
..
as SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00
cfg SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00
dis SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00
emacs Define variable to skip installation 2017-07-04 12:24:44 -04:00
fuzz spirv-fuzz: Introduce TransformationContext (#3272) 2020-04-02 15:54:46 +01:00
lesspipe tools/lesspipe: Allow generic shell (#2255) 2018-12-27 15:06:37 -05:00
link Add all accepted target environments to the tools' help texts (#2687) 2019-06-20 09:41:28 -04:00
opt Fix typos in opt's help. Update environment version. (#3170) 2020-02-04 11:13:24 -05:00
reduce reduce: improve remove unref instr pass (#2945) 2019-10-08 13:02:34 +01:00
sva Add OpCopyMemory test to SVA. (#2885) 2019-09-24 10:49:39 -04:00
util Fix header include syntax. (#2882) 2019-09-19 09:26:24 -05:00
val SPIRV-Tools support for SPIR-V 1.5 (#2865) 2019-09-13 14:59:02 -04:00
CMakeLists.txt Add spirv-fuzz tool. (#2631) 2019-05-27 15:46:35 +01:00
io.h Close opened file handles. (#2644) 2019-05-31 10:28:33 -04:00