Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
1
third-party/vendor/spirv/.cargo-checksum.json
vendored
Normal file
1
third-party/vendor/spirv/.cargo-checksum.json
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"files":{"Cargo.toml":"965504451cd792223d66d76e77778f823e5274acf1a06371815c6fcdc39cb602","README.md":"b2fb89fc821eb3ecb38a229ed3dfed36a2f30ba9338b3695ee6ce96eab438d60","autogen_spirv.rs":"6408f8408001fd1012e2731a737cb08f032114b390c3cf10d813ab89a7c84c03","lib.rs":"334f71db6c449cbea3c6f7485abf9c8b91be968e532758ead3a7a834f1284440","release.toml":"acbbc8f28fd56745b98909e9f0928d97cdadeab242652a8596e716fe6d405b5e"},"package":"246bfa38fe3db3f1dfc8ca5a2cdeb7348c78be2112740cc0ec8ef18b6d94f830"}
|
||||
41
third-party/vendor/spirv/Cargo.toml
vendored
Normal file
41
third-party/vendor/spirv/Cargo.toml
vendored
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||||
#
|
||||
# When uploading crates to the registry Cargo will automatically
|
||||
# "normalize" Cargo.toml files for maximal compatibility
|
||||
# with all versions of Cargo and also rewrite `path` dependencies
|
||||
# to registry (e.g., crates.io) dependencies
|
||||
#
|
||||
# If you believe there's an error in this file please file an
|
||||
# issue against the rust-lang/cargo repository. If you're
|
||||
# editing this file be aware that the upstream Cargo.toml
|
||||
# will likely look very different (and much more reasonable)
|
||||
|
||||
[package]
|
||||
edition = "2018"
|
||||
name = "spirv"
|
||||
version = "0.2.0+1.5.4"
|
||||
authors = ["Lei Zhang <antiagainst@gmail.com>"]
|
||||
description = "Rust definition of SPIR-V structs and enums"
|
||||
documentation = "https://docs.rs/spirv"
|
||||
readme = "README.md"
|
||||
keywords = ["spirv", "definition", "struct", "enum"]
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/gfx-rs/rspirv"
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
[dependencies.bitflags]
|
||||
version = "1"
|
||||
|
||||
[dependencies.num-traits]
|
||||
version = "0.2"
|
||||
default-features = false
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1"
|
||||
features = ["derive"]
|
||||
optional = true
|
||||
|
||||
[features]
|
||||
deserialize = ["serde"]
|
||||
serialize = ["serde"]
|
||||
44
third-party/vendor/spirv/README.md
vendored
Normal file
44
third-party/vendor/spirv/README.md
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
spirv-headers of the rspirv project
|
||||
===================================
|
||||
|
||||
[![Crate][img-crate-headers]][crate-headers]
|
||||
[![Documentation][img-doc-headers]][doc-headers]
|
||||
|
||||
The headers crate for the rspirv project which provides Rust definitions of
|
||||
SPIR-V structs, enums, and constants.
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
This project uses associated constants, which became available in the stable channel
|
||||
since [1.20][rust-1.20]. So to compile with a compiler from the stable channel,
|
||||
please make sure that the version is >= 1.20.
|
||||
|
||||
First add to your `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
spirv = "0.2.0+1.5.4"
|
||||
```
|
||||
|
||||
Version
|
||||
-------
|
||||
|
||||
Note that the major and minor version of this create is tracking the SPIR-V spec,
|
||||
while the patch number is used for bugfixes for the crate itself. So version
|
||||
`1.4.2` is tracking SPIR-V 1.4 but not necessarily revision 2. Major client APIs
|
||||
like Vulkan/OpenCL pin to a specific major and minor version, regardless of the
|
||||
revision.
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
Please see the [documentation][doc-headers] and project's
|
||||
[README][project-readme] for examples.
|
||||
|
||||
[img-crate-headers]: https://img.shields.io/crates/v/spirv.svg
|
||||
[img-doc-headers]: https://docs.rs/spirv/badge.svg
|
||||
[crate-headers]: https://crates.io/crates/spirv
|
||||
[doc-headers]: https://docs.rs/spirv
|
||||
[project-readme]: https://github.com/gfx-rs/rspirv/blob/master/README.md
|
||||
[rust-1.20]: https://blog.rust-lang.org/2017/08/31/Rust-1.20.html
|
||||
4334
third-party/vendor/spirv/autogen_spirv.rs
vendored
Normal file
4334
third-party/vendor/spirv/autogen_spirv.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
14
third-party/vendor/spirv/lib.rs
vendored
Normal file
14
third-party/vendor/spirv/lib.rs
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
//! The SPIR-V header.
|
||||
//!
|
||||
//! This crate contains Rust definitions of all SPIR-V structs, enums,
|
||||
//! and constants.
|
||||
//!
|
||||
//! The version of this crate is the version of SPIR-V it contains.
|
||||
|
||||
#![no_std]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
|
||||
use bitflags::bitflags;
|
||||
|
||||
include!("autogen_spirv.rs");
|
||||
13
third-party/vendor/spirv/release.toml
vendored
Normal file
13
third-party/vendor/spirv/release.toml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
pre-release-commit-message = "Release {{crate_name}} {{version}}"
|
||||
no-dev-version = true
|
||||
tag-message = "Release {{crate_name}} {{version}}"
|
||||
tag-name = "{{crate_name}}-{{version}}"
|
||||
sign-commit = true
|
||||
sign-tag = true
|
||||
|
||||
pre-release-replacements = [
|
||||
{file="README.md", search="spirv = .*", replace="{{crate_name}} = \"{{version}}\""},
|
||||
{file="../rspirv/Cargo.toml", search="spirv = \\{ version = \".*\", path = \"../spirv\" \\}", replace="{{crate_name}} = { version = \"{{version}}\", path = \"../spirv\" }" },
|
||||
]
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue