Age | Commit message (Collapse) | Author |
|
The decision to reduce the load must be not affected by debug
instructions. For example, even when a DebugValue references a
result id of a loaded composite value, this change lets the
reduce-load-size pass reduce the load if the full composite value is not
used anywhere other than the DebugValue.
|
|
|
|
Fixes https://crbug.com/917774
|
|
Fixes #1912.
Remove the non-effcee build as EFFCEE is now required.
|
|
This Cl cleans up the include paths to be relative to the top level
directory. Various include-what-you-use fixes have been added.
|
|
This CL moves the test into namespaces based on their directories.
|
|
Fixes https://github.com/KhronosGhttps://github.com/KhronosGroup/SPIRV-Tools/issues/1559roup/SPIRV-Tools/issues/1559.
There is an load of an operand of an instruction that was suppose to be
only for the OpCompositeExtract case. However, an error caused it to
be loaded for every opcode, even those that do not have an operand in
that position.
We fix up that bug, and a couple other things noticed that the same
time.
|
|
We have already disabled common uniform elimination because it created
sequences of loads an entire uniform object, then we extract just a
single element. This caused problems in some drivers, and is just
generally slow because it loads more memory than needed.
However, there are other way to get into this situation, so I've added
a pass that looks specifically for this pattern and removes it when only
a portion of the load is used.
Fixes #1547.
|