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-03-07Update bazel output directory in gitignore. (#4746)Steven Perron
2020-03-08spirv-fuzz: Add fuzzer pass to permute function parameters (#3212)Vasyl Teliman
Fixes #3194.
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.
2019-05-22Added an external dependency on protobufs, included when SPIRV_BUILD_FUZZER ↵Alastair Donaldson
is defined, so that they can be used by the (upcoming) spirv-fuzz tool. Also updated the kokoro build scripts, for relevant targets, to clone an appropriate tag of the protobufs repo, and to pass -DSPIRV_BUILD_FUZZER to the configurations for which we intend to ultimately build spirv-fuzz. (#2616)
2019-04-08reduce: miscellaneous fixes (#2494)Paul Thomson
* Fix .gitignore * Add missing reduction pass: RemoveBlockReductionOpportunityFinder * Add DumpShader functions in test_reduce for debugging * Add DumpShader functions in spirv-reduce for debugging * Fix include style * Don't use "using namespace"
2018-11-21Initial commit for spirv-reduce. (#2056)Alastair Donaldson
Creates a new tool that can be used to reduce failing testcases, similar to creduce.
2018-08-20Ignore *.pyc files in git commands.Diego Novillo
2018-08-03Refactor BUILD.gn so can easily be embedded in other projectsCorentin Wallez
1. BUILD.gn: Don't use the extra Chromium clang warnings Also removes the unused .gn secondary_sources. 2. Move fuzzers in test/ instead of testing/ This frees up testing/ to be the git subtree of Chromium's src/testing/ that contains test.gni, gtest, gmock and libfuzzer 3. DEPS: get the whole testing/ subtree of Chromium 4. BUILD.gn: Simplify the standalone gtest targets These targets definitions are inspired from ANGLE's and add a variable that is the path of the googletest directory so that it can be made overridable in future commits. 6. BUILD.gn: Add overridable variables for deps dirs This avoids hardcoded paths to dependencies that make it hard to integrate SPIRV-Tools in other GN projects.
2018-07-24Add support for Chromium GN buildDan Sinclair
Build test Add Fuzzer group Add libfuzzer
2018-06-21Setup gclient and presubmit file.dan sinclair
This CL adds the necessary files to use gclient and the depot_tools with the SPIRV-Tools directory. This allows doing things like `git cl format` to format code pre-upload and `git cl presubmit -uf` to run presubmit checks over the code. The dependencies are all added to the DEPS file and will be auto-downloaded. They are all pin'd to specific revisions so everyone has the same checkout. Clang is included in the checkout so it will be consistent over usages. Use clang-format
2018-01-05Ignore clang-format-diff.py from copyrights checkPierre Moreau
Having that script locally, for example to run check_code_format.sh before sending a pull request, would cause the copyright notices check to fail.
2017-12-10Add external/SPIRV-Headers to .gitignorePierre Moreau
b93c066b allowed for both SPIRV-Headers and spirv-headers as valid paths, but only the latter is being ignored by Git.
2017-11-16Git should ignore external reposDavid Neto
Ignore googletest, spirv-headers, effcee, and re2
2016-10-14Do not gitignore source/opt/build_module.*Christopher Gautier
2016-06-22Ignore Vim swap files.Lei Zhang
2016-06-10Use SPIR-V headers from the KhronosGroup/SPIRV-Headers repo.Lei Zhang
2015-12-10Basic SSA ValidationUmar Arshad
Most uses of an ID must occur after the definition of the ID. Forward references are allowed for things like OpName, OpDecorate, and various cases of control-flow instructions such as OpBranch, OpPhi, and OpFunctionCall. TODO: Use CFG analysis for SSA checks. In particular, an ID defined inside a function body is only usable inside that function body. Also, use dominator info to catch some failing cases. Also: * Validator test cases use (standard) assignment form. * Update style to more closely follow the Google C++ style guide * Remove color-diagnostics flag. This is enabled by default on terminals with color. Prints hidden ASCII for terminals that can't handle color(Emacs) * Pass functors to SSAPass to check if the operand can be forward referenced based on its index value * Return SPV_ERROR_INVALID_ID for ID related errors spvBinaryParse returned SPV_ERROR_INVALID_BINARY for all types of errors. Since spvBinaryParse does some ID validation, this was returning inappropriate error codes for some tests. * Common fixture for validation tests. It only runs certian validation passes. * Add a SPV_VALIDATE_SSA_BIT for testing purposes * Fixtures now return error codes * Add OpName support in diag message and unit tests * Binary parsing can fail with invalid ID or invalid binary error code Tests include: * OpDecorate * OpName * OpMemberName * OpBranchConditional * OpSelectionMerge * OpMemberDecorate * OpGroupDecorate * OpDeviceEnqueue * Enable several tests failing in ID validation.
2015-10-26Git ignore compile_commands.json in root directory.David Neto
Useful for standalone development of SPIR-V Tools with Ninja and YouCompleteMe.
2015-05-22Code drop of the Codeplay spirv-tools source.Kenneth Benzie (Benie)
This commit contains the source for the SPIRV static library, spirv-as, spirv-dis, and spirv-val tools.