blob: 5e3472d03f049868695a737e0e867e811d3c3b0c [file] [log] [blame]
// 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/BlitResolve.frag.00000008.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000008[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x96,0x59,0x4f,0x54,0x41,
0x10,0x85,0x7b,0x16,0x66,0x50,0x51,0x11,0x44,0x70,0xc1,0x0d,0x37,0x50,0xc9,0xa8,
0x8c,0xd1,0x20,0x8a,0x9a,0x08,0xea,0xb8,0xe0,0x82,0x2b,0x1a,0xa3,0x42,0x8c,0x0b,
0x24,0x2e,0xf0,0xe0,0x02,0x31,0xa8,0xf0,0xe0,0x02,0x0f,0x6e,0x3c,0x98,0x28,0xfa,
0xe0,0x0f,0xf1,0x17,0x19,0x97,0xc4,0xc4,0xaa,0x9e,0xaf,0x4c,0x39,0x93,0x54,0xee,
0x3d,0xe7,0x54,0xd7,0xe9,0xea,0xee,0xdb,0x99,0x54,0xb2,0x21,0x1b,0x42,0x22,0xcc,
0x0c,0xe5,0xe1,0x4b,0x28,0xfe,0xe6,0x85,0xa4,0x30,0x21,0xcc,0x0a,0x99,0xf8,0xec,
0x28,0x1c,0x2f,0x34,0xdf,0xbe,0x73,0xa5,0xb9,0x25,0x9f,0x53,0x7d,0x4e,0x48,0xc5,
0x3c,0xd5,0xe6,0x0a,0x4a,0xcb,0x53,0xe3,0xe6,0xa5,0x6b,0xb7,0x94,0xaf,0x90,0xb8,
0x28,0xd1,0x27,0x31,0x20,0x31,0x24,0x31,0x22,0x31,0x2e,0x31,0x29,0x31,0x25,0x51,
0x29,0x35,0x74,0x4c,0x56,0xeb,0xcb,0x5b,0x45,0xf4,0xd3,0x7a,0x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6,0xd3,0xeb,0x7c,0x54,0xbb,0x2a,0xd1,0x4b,0xad,0xab,0xf8,0xf4,0x39,0x1f,
0xd3,0x7a,0x9d,0xcf,0x0d,0x7c,0xae,0x3b,0x9f,0x9b,0xf0,0xe6,0xd3,0xef,0x7c,0x54,
0xd3,0x3f,0x5f,0xfd,0xd4,0xba,0x85,0xcf,0x80,0xf3,0x31,0xad,0xdf,0xf9,0xdc,0xc1,
0x27,0xe7,0x7c,0xee,0xc2,0x9b,0xcf,0xa0,0xf3,0x51,0xed,0x9e,0xc4,0x20,0xb5,0xee,
0xe1,0x33,0xe4,0x7c,0x4c,0x1b,0x74,0x3e,0x0f,0xf0,0xb9,0xef,0x7c,0x1e,0xc2,0x9b,
0xcf,0xb0,0xf3,0x79,0x18,0xbf,0xbb,0xe2,0xdd,0xac,0xb5,0x1e,0xe1,0x33,0xe2,0x7c,
0x4c,0x1b,0x76,0x3e,0x4f,0xf0,0x19,0x75,0x3e,0x4f,0xe1,0xcd,0x67,0xcc,0xf9,0xa8,
0xf6,0x4c,0x62,0x8c,0x5a,0xcf,0xf0,0x19,0x77,0x3e,0xa6,0x8d,0x39,0x9f,0x17,0xf8,
0x3c,0x77,0x3e,0x2f,0xe1,0xcd,0x67,0xc2,0xf9,0xa8,0xf6,0x4a,0x62,0x82,0x5a,0xaf,
0xf0,0x99,0x74,0x3e,0xa6,0x4d,0x38,0x9f,0x37,0xf8,0xbc,0x76,0x3e,0x6f,0xe1,0xcd,
0xe7,0xbd,0xf3,0x51,0xed,0x9d,0xc4,0x7b,0x6a,0xbd,0xc3,0x67,0xca,0xf9,0x98,0xa6,
0xcf,0x3f,0x72,0x33,0x6c,0x93,0xf8,0x0b,0x22,0xf3,0x08,0x49,0x08,0x0c,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// layout(push_constant)uniform PushConstants {
//
// vec2 offset;
// vec2 stretch;
// vec2 invSrcExtent;
// int srcLayer;
// int samples;
// float invSamples;
//
// int outputMask;
//
// bool flipX;
// bool flipY;
// bool rotateXY;
// } params;
//
// layout(set = 0, binding = 0)uniform utexture2D color;
//
// layout(location = 0)out uvec4 colorOut0;
// layout(location = 1)out uvec4 colorOut1;
// layout(location = 2)out uvec4 colorOut2;
// layout(location = 3)out uvec4 colorOut3;
// layout(location = 4)out uvec4 colorOut4;
// layout(location = 5)out uvec4 colorOut5;
// layout(location = 6)out uvec4 colorOut6;
// layout(location = 7)out uvec4 colorOut7;
//
// layout(set = 0, binding = 2)uniform sampler blitSampler;
//
// void main()
// {
//
// vec2 srcImageCoords = vec2(gl_FragCoord . xy);
//
// srcImageCoords *= params . stretch;
//
// srcImageCoords -= params . offset;
//
// if(params . flipX)
// srcImageCoords . x = - srcImageCoords . x;
// if(params . flipY)
// srcImageCoords . y = - srcImageCoords . y;
// if(params . rotateXY)
// srcImageCoords . xy = srcImageCoords . yx;
//
// uvec4 colorValue = texture(usampler2D(color, blitSampler), srcImageCoords * params . invSrcExtent);
//
// if((params . outputMask &(1 << 0))!= 0)
// {
// colorOut0 = colorValue;
// }
// if((params . outputMask &(1 << 1))!= 0)
// {
// colorOut1 = colorValue;
// }
// if((params . outputMask &(1 << 2))!= 0)
// {
// colorOut2 = colorValue;
// }
// if((params . outputMask &(1 << 3))!= 0)
// {
// colorOut3 = colorValue;
// }
// if((params . outputMask &(1 << 4))!= 0)
// {
// colorOut4 = colorValue;
// }
// if((params . outputMask &(1 << 5))!= 0)
// {
// colorOut5 = colorValue;
// }
// if((params . outputMask &(1 << 6))!= 0)
// {
// colorOut6 = colorValue;
// }
// if((params . outputMask &(1 << 7))!= 0)
// {
// colorOut7 = colorValue;
// }
//
// }