Move Squid Sisters TV UW fix back to main pack

This commit is contained in:
Michael 2018-05-28 10:52:39 -07:00
parent 9f9e90e4e3
commit 180ddb444a

View File

@ -1,11 +1,22 @@
<?php
$width = $argv[1];
$height = $argv[2];
$aspect = $width / (float)$height;
$ratioAdjust = $aspect/(16/9);
if (round($aspect*100.0) == 178)
exit(1);
$aspect = number_format((float)$aspect, 3, '.', '');
?>
#version 420 #version 420
#extension GL_ARB_texture_gather : enable #extension GL_ARB_texture_gather : enable
#extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_packing : enable #extension GL_ARB_shading_language_packing : enable
// shader ae5bf21625f134f3 // shader ae5bf21625f134f3
// Used for: Squid Sisters TV // Used for: Squid Sisters TV
const float scaleAspect = 1.3333333333333; const float scaleAspect = <?=$ratioAdjust?>;
uniform ivec4 uf_remappedVS[7]; uniform ivec4 uf_remappedVS[7];
uniform vec2 uf_windowSpaceToClipSpaceTransform; uniform vec2 uf_windowSpaceToClipSpaceTransform;
layout(location = 0) in uvec4 attrDataSem0; layout(location = 0) in uvec4 attrDataSem0;