Source code
Revision control
Copy as Markdown
Other Tools
// 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.00000009.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000009[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x65,0x95,0x4b,0x68,0x5d,0x55,
0x14,0x86,0xcf,0x3e,0xf7,0xe6,0x51,0x6f,0xa3,0x69,0x8d,0xd1,0x24,0x26,0xd8,0xa6,
0xb5,0x29,0xd5,0xd2,0x41,0x15,0x41,0x2a,0x3a,0xd2,0x41,0xc5,0x57,0x2b,0x66,0x12,
0x30,0x08,0xc1,0x81,0x66,0x10,0x07,0x19,0x14,0x34,0x48,0x26,0x19,0x74,0x92,0x49,
0xad,0xb5,0x55,0xac,0xcf,0xb4,0x5a,0x67,0xd5,0xa2,0xc5,0x47,0x69,0x89,0x36,0x54,
0xa2,0x06,0x03,0xbe,0x08,0x68,0x09,0x68,0x09,0xd8,0x1a,0x1f,0x21,0xae,0xff,0x9c,
0x6f,0x99,0x45,0xbc,0xb0,0xb2,0xf7,0xfa,0xff,0xb5,0xd6,0xbf,0xd7,0x7e,0x9c,0x54,
0xf2,0xee,0x86,0x2c,0x4b,0x59,0x2d,0x6b,0xcc,0xb6,0xa6,0xac,0xf8,0xad,0xcb,0xf2,
0x4c,0xd3,0x5a,0x56,0x5f,0x8c,0xf7,0xee,0x7e,0x64,0xf7,0xf6,0xa1,0x67,0x9e,0xd8,
0xbe,0xf3,0xb6,0x1d,0xe2,0xaf,0xce,0x2a,0x45,0x9c,0xb8,0x6b,0xcc,0xab,0xda,0x28,
0x7b,0xea,0xf1,0x27,0x9f,0x16,0xde,0x6a,0xb6,0xd7,0xac,0xcf,0x6c,0xc0,0x6c,0xd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xc7,0x39,0x8d,0xae,0xb3,0x06,0x9d,0xd1,0xa0,0x73,0x55,
0x2a,0x71,0xd7,0x69,0x0a,0x3a,0xe2,0x6a,0x66,0x4d,0xd4,0xaa,0xa1,0x33,0x16,0x74,
0x9c,0x6b,0x0a,0x3a,0xcd,0xe8,0xec,0x0f,0x3a,0xeb,0x52,0x89,0xbb,0x4e,0x4b,0xd0,
0x11,0xb7,0xde,0xac,0x85,0x5a,0xeb,0xd1,0x19,0x0f,0x3a,0xce,0x69,0x5c,0xb2,0x17,
0x7d,0x87,0xd9,0xbf,0xcd,0x50,0x75,0xa4,0xb0,0x0c,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// layout(set = 0, binding = 0) uniform utexture2DArray 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;
//
// #line 1 "shaders/src/BlitResolve.inc"
//
// layout(push_constant) uniform PushConstants {
//
// vec2 offset;
// vec2 stretch;
// vec2 invSrcExtent;
// int srcMip;
// int srcLayer;
// int samples;
// float invSamples;
//
// int outputMask;
//
// bool flipX;
// bool flipY;
// bool rotateXY;
// } params;
//
// vec2 getSrcImageCoords()
// {
//
// 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;
//
// return srcImageCoords;
// }
//
// void broadcastColor(uvec4 colorValue)
// {
//
// 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;
// }
// }
//
// #line 123 "shaders/src/BlitResolve.frag"
//
// void main()
// {
// vec2 srcImageCoords = getSrcImageCoords();
//
// uvec4 colorValue = textureLod(usampler2DArray(color, blitSampler), vec3(srcImageCoords * params.invSrcExtent, params.srcLayer), params.srcMip);
//
// broadcastColor(colorValue);
//
// }