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

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-05Switch SPIRV-Tools to use spirv.hpp11 internally (#4981)alan-baker
Fixes #4960 * Switches to using enum classes with an underlying type to avoid undefined behaviour
2022-07-05use exec_tools instead of tools for better RBE compatibility (#4837)Kevin Lubick
2022-03-07Fixed Bazel Windows build (#4736)IcyTv
* Fixed Bazel Windows build Before this commit, the bazel build setup would not work on windows. This is due to the fact, that genrule tries to use bash, which fails. One fix would be to use bazel-skylib's run_binary. This however does not work (easily) since genrules is more complex. To (temporarily) fix the windows build, I added the `cmd_bat` property to every genrule. This seems more like a hack, because it basically repeat commands, but for now it at least builds on windows. * Removed BAZEL_SH from bazel presubmit build script Thanks to @s-perron for pointing out, that the presubmit script uses the msys64 bash shell for the bazel build. Since adding the `cmd_bat` argument removes the dependency on bash, this is no longer needed.
2021-09-15spirv-opt: Switch from Vulkan.DebugInfo to Shader.DebugInfo (#4493)Greg Fischer
Includes: - Shift to use of spirv-header extinst.nonsemantic.shader grammar.json - Remove extinst.nonsemantic.vulkan.debuginfo.100.grammar.json - Enable all optimizations for Shader.DebugInfo Also fixes scalar replacement to only insert DebugValue after all OpVariables. This is not necessary for OpenCL.DebugInfo, but it is for Shader.DebugInfo. Likewise, fixes Private-to-Local to insert DebugDeclare after all OpVariables. Also fixes inlining to handle FunctionDefinition which can show up after first block if early return processing happens. Co-authored-by: baldurk <baldurk@baldurk.org>
2021-08-06Add new target for spirv-lint (#4446)dong-ja
This PR adds a new executable spirv-lint with a simple "Hello, world!" program, along with its associated library and a dummy unit test. For now, only adds to CMake and Bazel; other build systems will be added in a future PR. Issue: #3196
2021-07-12Add non-semantic vulkan extended instruction set (#4362)Greg Fischer
This is based on a legacy commit which installs a local grammar. A followup commit will change to the grammar in SPIRV-Headers. Co-authored-by: baldurk <baldurk@baldurk.org>
2020-07-30Validator support for non-semantic clspv reflection (#3618)alan-baker
* Generate ext inst table for reflection * Change build to use grammar files from SPIRV-Headers instead of SPIRV-Tools * Add enum for clspv reflection extended instruction set * count it as non-semantic * validate clspv reflection extended instruction set * Remove local extended inst sets * update headers deps * Update nbuilds to use grammars from SPIRV-Headers instead of local duplicates
2020-02-25Combine extinst-name and extinst-output-base into one arg. (#3200)Geoff Lang
* Combine the extinst-name and extinst-output-base into one arg. Some build systems such as Android blueprints require that the inputs and outputs of generator scripts are all provided as arguments. These two arguments to generate_language_headers.py are combined to form the output path in the script. This change simply lets the user provide the whole output path as an argument. * Fix typo in build_defs.bzl and update Android.mk
2019-12-20Support OpenCL.DebugInfo.100 extended instruction set (#3080)David Neto
* Clone opencl.debuginfo.100 grammar from debuginfo grammar Update version number to 200 revision 2 * Apply content from OpenCL.DebugInfo.100 extension text * Rename grammar file * Support OpenCL.DebugInfo.100 extended instructions Add support for prefixing operand type names, to disambiguate them between different instruction sets. * Add tests for OpenCL.DebugInfo.100 * Support lookup of OpenCL.DebugInfo.100 extinst * Add tests for enum values * Recognize 2017-2019 as copyright date range * Android.mk: support OpenCL.DebugInfo.100 extended instruction set Also, stop generating core instruction tables for non-unified1 versions of the grammar. * Imported entity operand type is concrete * Bazel: Suppoort OpenCL.DebugInfo.100 * BUILD.gn: Support OpenCL.DebugInfo.100
2019-10-09Use a longer timeout for Bazel tests. (#2956)Ehsan
2019-09-27Add Kokoro bots for building with Bazel. (#2914)Ehsan
Add Kokoro bots for building with Bazel.
2019-09-24Add Bazel build configuration. (#2891)Ehsan
* Add Bazel build configuration. * fix for windows. * Update doc file. * Add tests that were accidentally skipped by Bazel * Update doc file.