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
2021-06-29Finish adding SPDX tags and setup a reuse checked in Github Actions CIJon Leech
2021-01-14meta: Update copyright headers to 2021.Hans-Kristian Arntzen
2020-12-01Add MIT dual license for the SPIRV-Cross API.Hans-Kristian Arntzen
2020-05-25Handle physical pointers in reflection API.Hans-Kristian Arntzen
2020-01-16Update license headers to 2020.2020-01-16Hans-Kristian Arntzen
2019-04-09Do not use SmallVector as input type in public interfaces.Hans-Kristian Arntzen
This is an API break, which we need to be careful with. Handing out SmallVectors is easier since the interface is basically the same.
2019-04-09Reduce pressure on global allocation.Hans-Kristian Arntzen
- Replace ostringstream with custom implementation. ~30% performance uplift on vector-shuffle-oom test. Allocations are measurably reduced in Valgrind. - Replace std::vector with SmallVector. Classic malloc optimization, small vectors are backed by inline data. ~ 7-8% gain on vector-shuffle-oom on GCC 8 on Linux. - Use an object pool for IVariant type. We generally allocate a lot of SPIR* objects. We can amortize these allocations neatly by pooling them. - ~15% overall uplift on ./test_shaders.py --iterations 10000 shaders/.
2019-03-29Add an option to override the namespace used for spirv_cross.Hans-Kristian Arntzen
This is a pragmatic trick to avoid symbol collision where a project links against SPIRV-Cross statically, while linking to other projects which also use SPIRV-Cross statically. We can end up with very awkward symbol collisions which can resolve themselves silently because SPIRV-Cross is pulled in as necessary. To fix this, we must use different symbols and embed two copies of SPIRV-Cross in this scenario, now with different namespaces, which in turn leads to different symbols.
2019-01-04Nonfunctional: Update copyright headers for 2019.Hans-Kristian Arntzen
2018-10-19Hoist out parsing module from spirv_cross::Compiler.Hans-Kristian Arntzen
This is a large refactor which splits out the SPIR-V parser from Compiler and moves it into its more appropriately named Parser module. The Parser is responsible for building a ParsedIR structure which is then consumed by one or more compilers. Compiler can take a ParsedIR by value or move reference. This should allow for optimal case for both multiple compilations and single compilation scenarios.
2018-06-20Add specialization constant output in reflectionBrad Davis
2018-06-20More feedbackBrad Davis
2018-06-20PR feedbackBrad Davis
2018-06-20Cleanup codeBrad Davis
2018-06-20Working on reflection outputBrad Davis