mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-11 04:02:47 -03:00
[BotW] Updated build scripts to always add decimal for glsl compiler compatibility
This commit is contained in:
parent
bedebb33bf
commit
d5edde9d56
24 changed files with 72 additions and 46 deletions
|
@ -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…
Reference in a new issue