mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-11 01:09:08 +01:00
[BotW] Updated build scripts to always add decimal for glsl compiler compatibility
This commit is contained in:
parent
bedebb33bf
commit
d5edde9d56
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
include 'functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
|
||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||
?>
|
||||
#version 420
|
||||
#extension GL_ARB_texture_gather : enable
|
||||
|
3
functions.php
Normal file
3
functions.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
function always_decimal_format($x) { return (intval($x) == $x ? number_format($x, 1, '.', '') : $x ); }
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user