mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 09:29:16 +00:00
51922ea5be
2934af8af0 Added Patreon sponsor link. c8f18b6f0f Getting current program only when required for vglDrawObjects. 4c5d136b0d Added directive to enable vitaShaRK usage from cmd. 4a10df3be5 Minor adjustments and bugfixes. 14a0124acf Added GL_TEXTURE_LOD_BIAS support. 40c8c6205e Added GL_NONE def and fixed glUniform4f impl. 868079c51e Added glUniform4f implementation. 0a682cbad2 Typo fix. be3ce61ae7 Added GL_DEPTH_BITS and GL_STENCIL_BITS support. 21e6d1d330 Added runtime shader compiler support. 696e40bc62 Beautify error handler code. 537b37b110 Added glUniform3fv implementation. 7dd1403015 Fixed GLenum size and added missing types defines. 0c75f27ff1 Moved to NEON optimized memcpy usage. 98951895de Added gluPerspective implementation. 23e0b0b309 Fix for vglInitExtended not working on sys app mode. 4989c33ef5 Run clang-format. 429f1c1d8a Added system mode support. 9231680d02 Initializing sceGxm before free mem checking on vglInitExtended. 091e5e7882 Added vglInitWithCustomSizes. f4c646ea78 Added vglSetParamBufferSize. 1b9a063c41 Beautify some code. 089e81efc5 Fix for duplicated symbols 789dcbf812 Typo fix in readRGBA4444. 1514a4b2cb Disabling lto due to it being broken on vitasdk with gcc 9.1. fca18d9ab7 Added support for RGBA4444 texture format. d449f12808 Added support for RGB565 texture format. git-subtree-dir: deps/vitaGL git-subtree-split: 2934af8af083a9acf598ab75233c518a251c6f0d
77 lines
2.3 KiB
Bash
Executable File
77 lines
2.3 KiB
Bash
Executable File
#! /usr/bin/env bash
|
|
# vim: set ts=3 sw=3 noet ft=sh : bash
|
|
|
|
# TODO: This entire script _should_ be replaced with git submodules, but
|
|
# that cannot be done until we sort out the limitations of that option. At
|
|
# this time, this script is called by libretro-super. Revisit the whole
|
|
# issue at some point.
|
|
|
|
SCRIPT="${0#./}"
|
|
BASE_DIR="${SCRIPT%/*}"
|
|
WORKDIR="$PWD"
|
|
|
|
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
|
BASE_DIR="$WORKDIR"
|
|
else
|
|
if [[ "$0" != /* ]]; then
|
|
# Make the path absolute
|
|
BASE_DIR="$WORKDIR/$BASE_DIR"
|
|
fi
|
|
fi
|
|
|
|
# Inserted here is libretro-super's script-modules/fetch-rules.sh, with a
|
|
# couple of features related to core submodules removed from fetch_git. If
|
|
# that file is changed, it should be safe to import it verbatim.
|
|
|
|
### START OF FETCH-RULES.SH (with mods)
|
|
|
|
# fetch_git: Clones or pulls updates from a git repository into a local directory
|
|
#
|
|
# $1 The URI to fetch
|
|
# $2 The local directory to fetch to (relative)
|
|
#
|
|
# NOTE: git _now_ has a -C argument that would replace the cd commands in
|
|
# this rule, but this is a fairly recent addition to git, so we can't
|
|
# use it here. --iKarith
|
|
fetch_git() {
|
|
fetch_dir="$WORKDIR/$2"
|
|
if [ -d "$fetch_dir/.git" ]; then
|
|
echo "cd \"$fetch_dir\""
|
|
cd "$fetch_dir"
|
|
echo "git pull"
|
|
git pull
|
|
else
|
|
clone_type=
|
|
[ -n "$SHALLOW_CLONE" ] && depth="--depth 1"
|
|
echo "git clone $depth \"$1\" \"$WORKDIR/$2\""
|
|
git clone $depth "$1" "$WORKDIR/$2"
|
|
fi
|
|
}
|
|
|
|
# fetch_revision_git: Output the hash of the last commit in a git repository
|
|
#
|
|
# $1 Local directory to run git in
|
|
fetch_revision_git() {
|
|
[ -n "$1" ] && cd "$1"
|
|
git log -n 1 --pretty=format:%H
|
|
}
|
|
|
|
# fetch_revision: Output SCM-dependent revision string of a module
|
|
# (currently just calls fetch_revision_git)
|
|
#
|
|
# $1 The directory of the module
|
|
fetch_revision() {
|
|
fetch_revision_git $1
|
|
}
|
|
|
|
### END OF FETCH-RULES.SH
|
|
|
|
echo "Fetching RetroArch's submodules..."
|
|
fetch_git "https://github.com/libretro/common-shaders.git" "media/shaders_cg"
|
|
fetch_git "https://github.com/libretro/common-overlays.git" "media/overlays"
|
|
fetch_git "https://github.com/libretro/retroarch-assets.git" "media/assets"
|
|
fetch_git "https://github.com/libretro/retroarch-joypad-autoconfig.git" "media/autoconfig"
|
|
fetch_git "https://github.com/libretro/libretro-database.git" "media/libretrodb"
|
|
|
|
git submodule update --init --recursive
|