Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-18Attempt more optimal codegen for OpCompositeInsert.Hans-Kristian Arntzen
Speculate that we can modify the SSA value in-place. As long as it is not used after the modify, this is fine. Also need to make sure we don't attempt to RMW something that is impossible to modify.
2022-01-17Do not forward expressions which carry a huge amount of dependencies.Hans-Kristian Arntzen
Need to force temporaries eventually, or compilers have a tendency to explode.
2021-09-23MSL: Selectively enable fast-math in MSL code to match Vulkan CTS results.Bill Hollings
Based on CTS testing, math optimizations between MSL and Vulkan are inconsistent. In some cases, enabling MSL's fast-math compilation option matches Vulkan's math results. In other cases, disabling it does. Broadly enabling or disabling fast-math across all shaders results in some CTS test failures either way. To fix this, selectively enable/disable fast-math optimizations in the MSL code, using metal::fast and metal::precise function namespaces, where supported, and the [[clang::optnone]] function attribute otherwise. Adjust SPIRV-Cross unit test reference shaders to accommodate these changes.
2019-10-24MSL: Do not generate UnsafeArray<> for any array inside buffer objects.Hans-Kristian Arntzen
This avoids a lot of huge code changes. Arrays generally cannot be copied in and out of buffers, at least no compiler frontend seems to do it. Also avoids a lot of issues surrounding packed vectors and matrices.
2019-10-24Moved all UE4 test shaders into 'shaders-ue4/' folder.Lukas Hermanns