whoops, fix hq2x credits block

This commit is contained in:
hunterk 2017-02-10 10:18:36 -06:00
parent 351b7fc712
commit 7e4a696634

View file

@ -1,9 +1,11 @@
#version 450
// Smooth Bilinear
// HQ2x
// by Lior Halphon
// ported to slang by hunterk
/* Based on this (really good) article: http://blog.pkh.me/p/19-butchering-hqx-scaling-filters.html */
/*
MIT License
@ -28,7 +30,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
layout(push_constant) uniform Push
{
vec4 SourceSize;
@ -45,8 +46,6 @@ layout(std140, set = 0, binding = 0) uniform UBO
#define uResolution params.OutputSize.xy
#define textureDimensions params.SourceSize.xy
/* Based on this (really good) article: http://blog.pkh.me/p/19-butchering-hqx-scaling-filters.html */
/* The colorspace used by the HQnx filters is not really YUV, despite the algorithm description claims it is. It is
also not normalized. Therefore, we shall call the colorspace used by HQnx "HQ Colorspace" to avoid confusion. */
vec3 rgb_to_hq_colospace(vec4 rgb)