blob: 270998960ebb2643a31754f4f255e61bc2991771 [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.00000001.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000001[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x96,0xe9,0x4f,0x55,0x67,
0x10,0xc6,0xdf,0x7b,0xcf,0x5d,0xa8,0x45,0x45,0x10,0xa1,0x56,0xdc,0x70,0x29,0xb4,
0x92,0xab,0x72,0x1b,0x1b,0x44,0xd1,0x04,0x37,0x68,0x8b,0xa8,0xdd,0x5c,0xaa,0x15,
0x9b,0xd8,0x0a,0x4d,0x5c,0xe0,0x43,0x2b,0xd7,0x04,0x15,0x3e,0xb8,0xc0,0x07,0x5b,
0xe1,0x83,0x1b,0x1f,0x9a,0xb4,0xb6,0xff,0x46,0xff,0xa2,0xa6,0xd5,0xc4,0xc4,0x99,
0xf7,0xfc,0x86,0x4c,0x0e,0xc9,0x70,0xce,0x3c,0xcf,0xcc,0x3c,0x33,0xe7,0x5d,0x20,
0xc9,0xb7,0x97,0x43,0xc8,0x85,0x65,0xa1,0x2e,0xfc,0x1d,0xd2,0x9f,0x55,0x21,0x2f,
0x48,0x08,0xef,0x86,0x52,0x7c,0x1e,0x1e,0x3c,0x31,0xd8,0x75,0xed,0xfa,0x48,0x57,
0x77,0xb5,0xa2,0xfc,0x8a,0x90,0xc4,0x38,0xe5,0x56,0x8a,0x57,0x90,0xa7,0xda,0xe8,
0x85,0xcb,0x63,0x8a,0xd7,0x8b,0x7d,0x2f,0xa6,0xce,0x84,0x58,0x4d,0x6c,0x46,0x6c,
0x4e,0x6c,0x41,0x6c,0x51,0xac,0x41,0x6a,0x68,0x4e,0x59,0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xf3,0x8d,0x9c,0xca,0x3d,0x62,0x6f,
0x01,0xef,0x73,0x53,0xa0,0x8c,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 texture2DArray color;
//
// layout(location = 0)out vec4 colorOut0;
// layout(location = 1)out vec4 colorOut1;
// layout(location = 2)out vec4 colorOut2;
// layout(location = 3)out vec4 colorOut3;
// layout(location = 4)out vec4 colorOut4;
// layout(location = 5)out vec4 colorOut5;
// layout(location = 6)out vec4 colorOut6;
// layout(location = 7)out vec4 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;
//
// vec4 colorValue = texture(sampler2DArray(color, blitSampler), vec3(srcImageCoords * params . invSrcExtent, params . srcLayer));
//
// 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;
// }
//
// }