1// GENERATED FILE - DO NOT EDIT. 2// Generated by gen_vk_internal_shaders.py. 3// 4// Copyright 2018 The ANGLE Project Authors. All rights reserved. 5// Use of this source code is governed by a BSD-style license that can be 6// found in the LICENSE file. 7// 8// shaders/gen/BlitResolve.frag.00000006.inc: 9// Pre-generated shader for the ANGLE Vulkan back-end. 10 11#pragma once 12constexpr uint8_t kBlitResolve_frag_00000006[] = { 13 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x4f,0x55,0x57, 14 0x10,0xc6,0xd7,0xb9,0xd3,0x23,0x20,0x72,0x95,0x78,0x01,0x85,0x44,0x83,0xf6,0x60, 15 0x5a,0xb1,0x82,0xc5,0x78,0x4b,0x44,0xc5,0x7a,0x21,0x46,0x53,0xdb,0x5a,0xad,0x6d, 16 0xc1,0x44,0xac,0x1c,0x93,0x56,0x48,0xbc,0xc0,0x83,0x55,0x88,0xa1,0x15,0x1e,0x6c, 17 0x85,0x07,0x6f,0x3c,0x98,0x58,0xf1,0xd5,0xbe,0xf7,0x2f,0xaa,0x55,0x13,0x13,0x67, 18 0xd6,0xf9,0x0d,0x9d,0x9c,0x93,0xcc,0xd9,0x7b,0xbe,0x6f,0x66,0xbe,0x99,0xb5,0xd7, 19 0x5a,0xa9,0x64,0x5b,0x2e,0x84,0x44,0xc8,0x87,0x8a,0xf0,0x77,0x28,0xfd,0x56,0x84, 20 0xa4,0x20,0x21,0x2c,0x0b,0xd9,0xf8,0xdc,0xdf,0x3f,0xd0,0x5f,0x28,0x5e,0x39,0x5f, 21 0xd8,0xda,0xb5,0x45,0xf9,0xea,0x90,0x8a,0x71,0xca,0x2d,0x17,0x2f,0x2d,0x4f,0xb5, 22 0x8b,0x67,0x87,0x86,0x15,0xaf,0x12,0xbb,0x20,0x56,0x14,0x1b,0x13,0x9b,0x10,0x9b, 23 0x12,0x9b,0x15,0x9b,0x17,0x5b,0x10,0xab,0x91,0x1a,0x9a,0x93,0xd3,0xfa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x74,0x26,0xbd,0xd7,0xbe,0x66, 64 0xa6,0xd3,0xf4,0xa1,0x77,0xdc,0x37,0xe0,0x77,0x25,0x66,0x59,0xec,0xa7,0x94,0xa7, 65 0x78,0xa5,0x28,0x29,0xf6,0xad,0xbb,0x67,0xcf,0x70,0xbe,0xb5,0xaf,0xb3,0x70,0xb6, 66 0x66,0xdf,0x51,0xff,0x9c,0x5b,0xb3,0xf3,0xe0,0xff,0xd0,0xf7,0xf7,0x60,0x27,0xdd, 67 0x9e,0xf9,0x01,0xbc,0x91,0x3d,0x33,0xe8,0xd6,0x50,0xb9,0x1f,0xc5,0x06,0x99,0x4f, 68 0xdf,0x77,0x4a,0xcc,0x05,0xf4,0x75,0x76,0xe3,0x06,0x9d,0xce,0x25,0x74,0x86,0x9d, 69 0xce,0x4f,0xe0,0xa6,0x33,0xe2,0x74,0x94,0xbb,0x2c,0x36,0x42,0xad,0xcb,0xe8,0x14, 70 0x9d,0x8e,0x71,0x23,0x4e,0xe7,0x67,0x74,0xfa,0x9c,0xce,0x2f,0xe0,0xa6,0x33,0xea, 71 0x74,0x94,0xbb,0x2a,0x36,0x4a,0xad,0xab,0xe8,0x8c,0x39,0x1d,0xe3,0x46,0x9d,0xce, 72 0x75,0x74,0x3a,0x9c,0xce,0x0d,0x70,0xd3,0x19,0x77,0x3a,0xca,0xdd,0x8c,0xf7,0x6a, 73 0xa9,0xd6,0x4d,0x74,0x26,0x9c,0x8e,0x71,0xe3,0x4e,0xe7,0x57,0x74,0x6e,0x39,0x9d, 74 0xdb,0xe0,0xa6,0x33,0xe9,0x74,0x94,0xbb,0x23,0x36,0x49,0xad,0x3b,0xe8,0x4c,0x39, 75 0x1d,0xe3,0x26,0x9d,0xce,0x6f,0xe8,0x4c,0x3b,0x9d,0xdf,0xc1,0x4d,0x67,0xc6,0xe9, 76 0x28,0x77,0x4f,0x6c,0x86,0x5a,0xf7,0xd0,0x99,0x75,0x3a,0xc6,0xcd,0x38,0x9d,0x3f, 77 0xd0,0xb9,0xef,0x74,0xfe,0x04,0x37,0x9d,0x39,0xa7,0xa3,0xdc,0x03,0xb1,0x39,0x6a, 78 0x3d,0x40,0x67,0xde,0xe9,0x18,0x37,0xe7,0x74,0x1e,0xa1,0xf3,0xd0,0xe9,0x3c,0x06, 79 0x37,0x9d,0xa7,0x4e,0x47,0xb9,0x27,0x62,0x4f,0xa9,0xf5,0x04,0x9d,0x05,0xa7,0x63, 80 0x9c,0x3e,0xdf,0xcb,0xe9,0xdb,0x2e,0xf6,0x01,0x1e,0x0d,0x8d,0x7b,0xb4,0x0c,0x00, 81 0x00 82}; 83 84// Generated from: 85// 86// #version 450 core 87// 88// #extension GL_EXT_samplerless_texture_functions : require 89// 90// layout(push_constant)uniform PushConstants { 91// 92// ivec2 offset; 93// vec2 stretch; 94// vec2 invSrcExtent; 95// int srcLayer; 96// int samples; 97// float invSamples; 98// 99// int outputMask; 100// 101// bool flipX; 102// bool flipY; 103// bool rotateXY; 104// } params; 105// 106// layout(set = 0, binding = 0)uniform itexture2DMS color; 107// 108// layout(location = 0)out ivec4 colorOut0; 109// layout(location = 1)out ivec4 colorOut1; 110// layout(location = 2)out ivec4 colorOut2; 111// layout(location = 3)out ivec4 colorOut3; 112// layout(location = 4)out ivec4 colorOut4; 113// layout(location = 5)out ivec4 colorOut5; 114// layout(location = 6)out ivec4 colorOut6; 115// layout(location = 7)out ivec4 colorOut7; 116// 117// void main() 118// { 119// 120// ivec2 srcImageCoords = ivec2(gl_FragCoord . xy); 121// 122// srcImageCoords -= params . offset; 123// 124// if(params . flipX) 125// srcImageCoords . x = - srcImageCoords . x; 126// if(params . flipY) 127// srcImageCoords . y = - srcImageCoords . y; 128// if(params . rotateXY) 129// srcImageCoords . xy = srcImageCoords . yx; 130// 131// ivec4 colorValue = ivec4(0, 0, 0, 0); 132// for(int i = 0;i < params . samples;++ i) 133// { 134// colorValue += texelFetch(color, srcImageCoords, i); 135// } 136// 137// colorValue = ivec4(round(colorValue * params . invSamples)); 138// 139// if((params . outputMask &(1 << 0))!= 0) 140// { 141// colorOut0 = colorValue; 142// } 143// if((params . outputMask &(1 << 1))!= 0) 144// { 145// colorOut1 = colorValue; 146// } 147// if((params . outputMask &(1 << 2))!= 0) 148// { 149// colorOut2 = colorValue; 150// } 151// if((params . outputMask &(1 << 3))!= 0) 152// { 153// colorOut3 = colorValue; 154// } 155// if((params . outputMask &(1 << 4))!= 0) 156// { 157// colorOut4 = colorValue; 158// } 159// if((params . outputMask &(1 << 5))!= 0) 160// { 161// colorOut5 = colorValue; 162// } 163// if((params . outputMask &(1 << 6))!= 0) 164// { 165// colorOut6 = colorValue; 166// } 167// if((params . outputMask &(1 << 7))!= 0) 168// { 169// colorOut7 = colorValue; 170// } 171// 172// } 173