Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

24
vendor/renderdoc-sys/generate_bindings.sh vendored Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
# This script generates Rust bindings to the in-application Renderdoc API.
#
# Dependencies:
# * bindgen (>=0.63.0)
# * curl
set -euo pipefail
readonly VERSION=v1.x
readonly TEMP_DIR="$(mktemp -d "${TMPDIR:-/tmp}/renderdoc-rs.XXXXXXXXX")"
trap -- "rm -rf '${TEMP_DIR}'" EXIT
curl -o "${TEMP_DIR}/renderdoc_app.h" -L "https://raw.githubusercontent.com/baldurk/renderdoc/${VERSION}/renderdoc/api/app/renderdoc_app.h"
bindgen \
--blocklist-type '__uint64_t|__uint32_t' \
--allowlist-type 'RENDERDOC.*|pRENDERDOC.*' \
--generate-inline-functions \
--no-prepend-enum-name \
--impl-debug \
"${TEMP_DIR}/renderdoc_app.h" > ./src/bindings.rs