// GENERATED FILE - DO NOT EDIT. // Generated by gen_vk_internal_shaders.py. // // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // shaders/gen/ImageCopyFloat.frag.00000000.inc: // Pre-generated shader for the ANGLE Vulkan back-end. #pragma once constexpr uint8_t kImageCopyFloat_frag_00000000[] = { 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x85,0x58,0x7b,0x68,0x97,0x65, 0x14,0xfe,0xce,0xbb,0xab,0x5a,0x6e,0xe6,0x9c,0x97,0x4a,0xd4,0x65,0x94,0x5b,0xa6, 0x69,0x66,0xea,0x9a,0xce,0x36,0x03,0x35,0x6b,0xb6,0x34,0x24,0x4c,0xa7,0x79,0xcb, 0xad,0x4c,0x2d,0xa2,0x42,0xad,0xe8,0x66,0x42,0x21,0x81,0x66,0x81,0x56,0x16,0x1a, 0x36,0xa4,0x44,0x4a,0xd4,0x7f,0xec,0x82,0x51,0x19,0x04,0x52,0x29,0xd9,0x24,0x50, 0x8a,0xa2,0xd2,0x4a,0x2d,0x3b,0xcf,0xce,0x73,0xdc,0xf1,0x47,0xd1,0xe0,0xdd,0xef, 0xf7,0x3e,0xe7,0xf6,0x9c,0xe7,0xbd,0x7c,0xdf,0x96,0x97,0x2a,0x8a,0xb2,0x4c,0xb2, 0xce,0x59,0x71,0xb6,0x38,0x65,0xed,0x3f,0xdd,0xb2,0xa4,0x88,0x7d,0x5e,0xa3,0x9f, 0x5d,0xb2,0xc2,0xf6,0xf9,0x84,0x49,0x53,0x27,0x0d,0xbe,0x7f,0xe9,0x9c,0xc1,0xc3, 0xaf,0x1d,0x02,0xbf,0xae,0x59,0x5e,0xbb,0x3f,0x6c,0x25,0x59,0x51,0x96,0xaf,0x9f, 0x18,0x8b,0x67,0x2d,0x68,0x06,0x7e,0x5a,0x47,0xb9,0x1a,0x4b,0xd5,0x0f,0xb8,0x16, 0xca,0x6e,0xca,0x0a,0xb2,0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0xea,0x56,0xcc, 0x9c,0x67,0xc3,0x9d,0x21,0xcc,0x89,0x77,0xeb,0xe8,0x03,0x4e,0x7e,0x67,0x00,0xf3, 0x3b,0x63,0x56,0xb2,0xfc,0xe0,0x85,0xd8,0xb3,0xe1,0xce,0xa8,0x4d,0x66,0x77,0x3d, 0x5c,0xa3,0x17,0xa8,0x91,0x3f,0x7b,0xfa,0xe4,0x68,0xd4,0x95,0x35,0xf1,0xe9,0x1a, 0x95,0x26,0x8b,0x73,0x8d,0x7a,0x07,0x8d,0x60,0xeb,0x86,0x7b,0x87,0x71,0x65,0x41, 0xa3,0x72,0xc6,0x45,0x8d,0x7a,0x26,0xc3,0xa3,0x46,0xbd,0x82,0x46,0x3d,0x83,0x46, 0x7d,0x98,0x13,0xf9,0x3d,0xbe,0x3b,0x73,0xba,0x46,0xee,0xd3,0x3b,0x68,0xd4,0x27, 0x68,0xd4,0x94,0x2c,0x3f,0x78,0x75,0x27,0x57,0xd7,0xa8,0x2e,0x99,0xbd,0x36,0xe7, 0xd9,0xf3,0x22,0x35,0xf2,0x67,0x4f,0x55,0x8e,0x46,0xfd,0x58,0xb3,0x5f,0xd0,0x68, 0x40,0xb2,0x38,0xd7,0xa8,0x32,0x68,0x04,0x5b,0x85,0x8e,0xcb,0x19,0x77,0x79,0xd0, 0xe8,0x0a,0xc6,0x45,0x8d,0xae,0x4c,0x86,0x47,0x8d,0x06,0x05,0x8d,0xae,0x0c,0x1a, 0x55,0x31,0x67,0x45,0xd0,0x68,0x20,0x73,0xba,0x46,0xee,0x53,0x19,0x34,0xaa,0x0a, 0x1a,0xcd,0x4d,0x96,0x1f,0xbc,0x06,0x92,0xab,0x6b,0x74,0x53,0x32,0x7b,0x5d,0x78, 0xf6,0xf8,0xd9,0x5b,0x17,0xce,0xfc,0x3c,0xee,0x35,0xdc,0x03,0x88,0x41,0x7e,0x3f, 0xf3,0xeb,0x79,0xe6,0xf7,0x85,0x33,0xff,0x92,0x18,0xee,0x67,0x7e,0x83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6d,0xc4,0x6c,0x66,0x9d,0xbd,0xf4,0x7d, 0x39,0x3c,0x47,0x37,0x32,0x1f,0x86,0xff,0xff,0x37,0x85,0xe7,0xa8,0xc7,0xec,0x0d, 0xf9,0x17,0x26,0xab,0x81,0x9a,0x1b,0x79,0x06,0x6e,0xd0,0x08,0xfc,0x6f,0x06,0xb6, 0xbf,0x74,0x97,0x8c,0xd4,0xf1,0x0f,0x32,0x90,0xe5,0x21,0xb8,0x16,0x00,0x00 }; // Generated from: // // #version 450 core // // #extension GL_GOOGLE_include_directive : require // #extension GL_EXT_samplerless_texture_functions : require // // layout(set = 0, binding = 0)uniform sampler2D src; // layout(location = 0)out vec4 dst; // // #line 1 "shaders/src/ImageCopy.inc" // // layout(push_constant)uniform PushConstants { // // ivec2 srcOffset; // ivec2 dstOffset; // int srcMip; // int srcLayer; // int srcSampleCount; // // bool flipX; // bool flipY; // // bool premultiplyAlpha; // bool unmultiplyAlpha; // // bool dstHasLuminance; // bool dstIsAlpha; // // bool srcIsSRGB; // bool dstIsSRGB; // // int dstDefaultChannelsMask; // bool rotateXY; // } params; // // float linearToSRGB(float linear) // { // // if(linear <= 0.0031308) // { // return linear * 12.92; // } // else // { // return pow(linear,(1.0f / 2.4f))* 1.055f - 0.055f; // } // } // // float sRGBToLinear(float sRGB) // { // // if(sRGB <= 0.04045) // { // return sRGB / 12.92; // } // else // { // return pow((sRGB + 0.055f)/ 1.055f, 2.4f); // } // } // // ivec2 transformImageCoords(ivec2 glFragCoords) // { // ivec2 imageCoordsOut = glFragCoords - params . dstOffset; // // if(params . flipX) // { // imageCoordsOut . x = - imageCoordsOut . x; // } // if(params . flipY) // { // imageCoordsOut . y = - imageCoordsOut . y; // } // if(params . rotateXY) // { // imageCoordsOut . xy = imageCoordsOut . yx; // } // // return imageCoordsOut; // } // // vec4 transformSrcValue(vec4 srcValue) // { // // if(params . srcIsSRGB) // { // // srcValue . r = linearToSRGB(srcValue . r); // srcValue . g = linearToSRGB(srcValue . g); // srcValue . b = linearToSRGB(srcValue . b); // } // // if(params . premultiplyAlpha) // { // srcValue . rgb *= srcValue . a; // } // else if(params . unmultiplyAlpha && srcValue . a > 0) // { // srcValue . rgb /= srcValue . a; // } // // vec4 dstValue = vec4(srcValue); // // if(params . dstIsSRGB) // { // // dstValue . r = sRGBToLinear(dstValue . r); // dstValue . g = sRGBToLinear(dstValue . g); // dstValue . b = sRGBToLinear(dstValue . b); // } // // if(params . dstHasLuminance) // { // dstValue . rg = dstValue . ra; // } // else if(params . dstIsAlpha) // { // dstValue . r = dstValue . a; // } // else // { // int defaultChannelsMask = params . dstDefaultChannelsMask; // if((defaultChannelsMask & 2)!= 0) // { // dstValue . g = 0; // } // if((defaultChannelsMask & 4)!= 0) // { // dstValue . b = 0; // } // if((defaultChannelsMask & 8)!= 0) // { // dstValue . a = 1; // } // } // // return dstValue; // } // #line 30 "shaders/src/ImageCopyFloat.frag" // // void main() // { // ivec2 srcSubImageCoords = transformImageCoords(ivec2(gl_FragCoord . xy)); // // vec4 srcValue = texture( // src, vec2(params . srcOffset + srcSubImageCoords)/ textureSize(src, 0), params . srcMip); // // dst = transformSrcValue(srcValue); // }