blob: 7e45f118341e558bdfc36408a7933b6edea6c5f4 [file] [log] [blame]
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_vk_internal_shaders.py.
//
// Copyright 2020 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.00000004.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000004[] = {
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,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0xc0,0x9b,0x4f,0xaf,0xf3,0x51,0xed,0xaa,0x44,0x2f,0xb5,0xae,0xe2,0xd3,0xe7,0x7c,
0x4c,0xeb,0x75,0x3e,0x37,0xf0,0xb9,0xee,0x7c,0x6e,0xc2,0x9b,0x4f,0xbf,0xf3,0x51,
0x4d,0xff,0x7c,0xf5,0x53,0xeb,0x16,0x3e,0x03,0xce,0xc7,0xb4,0x7e,0xe7,0x73,0x07,
0x9f,0x9c,0xf3,0xb9,0x0b,0x6f,0x3e,0x83,0xce,0x47,0xb5,0x7b,0x12,0x83,0xd4,0xba,
0x87,0xcf,0x90,0xf3,0x31,0x6d,0xd0,0xf9,0x3c,0xc0,0xe7,0xbe,0xf3,0x79,0x08,0x6f,
0x3e,0xc3,0xce,0xe7,0x61,0xfc,0xee,0x8a,0x77,0xb3,0xd6,0x7a,0x84,0xcf,0x88,0xf3,
0x31,0x6d,0xd8,0xf9,0x3c,0xc1,0x67,0xd4,0xf9,0x3c,0x85,0x37,0x9f,0x31,0xe7,0xa3,
0xda,0x33,0x89,0x31,0x6a,0x3d,0xc3,0x67,0xdc,0xf9,0x98,0x36,0xe6,0x7c,0x5e,0xe0,
0xf3,0xdc,0xf9,0xbc,0x84,0x37,0x9f,0x09,0xe7,0xa3,0xda,0x2b,0x89,0x09,0x6a,0xbd,
0xc2,0x67,0xd2,0xf9,0x98,0x36,0xe1,0x7c,0xde,0xe0,0xf3,0xda,0xf9,0xbc,0x85,0x37,
0x9f,0xf7,0xce,0x47,0xb5,0x77,0x12,0xef,0xa9,0xf5,0x0e,0x9f,0x29,0xe7,0x63,0x9a,
0x3e,0xff,0xc8,0xcd,0xb0,0x4d,0xe2,0x2f,0xdb,0xb5,0x43,0x01,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 itexture2D color;
//
// layout(location = 0)out ivec4 colorOut0;
// layout(location = 1)out ivec4 colorOut1;
// layout(location = 2)out ivec4 colorOut2;
// layout(location = 3)out ivec4 colorOut3;
// layout(location = 4)out ivec4 colorOut4;
// layout(location = 5)out ivec4 colorOut5;
// layout(location = 6)out ivec4 colorOut6;
// layout(location = 7)out ivec4 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;
//
// ivec4 colorValue = texture(isampler2D(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;
// }
//
// }