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.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,0x95,0x4d,0x68,0x5d,0x65,
0x10,0x86,0xcf,0x77,0xee,0xcd,0xbd,0x6d,0x6f,0xab,0x15,0x35,0x35,0xbf,0xa6,0xcd,
0x26,0x52,0x2d,0x5d,0x54,0x11,0xa4,0xa2,0x2b,0x5d,0x54,0x44,0x6d,0xc5,0x6c,0x02,
0x16,0x21,0xb8,0xd0,0xbb,0x88,0x8b,0x2c,0x0a,0x1a,0x24,0x9b,0x2c,0xba,0xc9,0xa6,
0xd6,0xda,0x2a,0xb6,0xd5,0xea,0xaa,0x5a,0xb4,0xf8,0x53,0x94,0xa8,0x41,0x89,0x35,
0x18,0xf0,0x8f,0x40,0x5b,0x02,0x5a,0x02,0x5a,0x02,0xb6,0xc6,0x9f,0x10,0xe7,0x3d,
0xe7,0x99,0xde,0x21,0x17,0x86,0xef,0xcc,0xfb,0xce,0xcc,0xfb,0xcd,0x9c,0xef,0x3b,
0xb7,0x92,0xf7,0xd7,0xb3,0x2c,0x65,0x8d,0x6c,0x5d,0xb6,0x2d,0x65,0xc5,0xef,0xa6,
0x2c,0xcf,0xf4,0xd8,0xc8,0x6a,0xc5,0xfa,0xd0,0x9e,0x27,0xf6,0xec,0x18,0x79,0xe1,
0x99,0x1d,0xbb,0xee,0xde,0x29,0xfe,0x86,0xac,0x52,0xc4,0x89,0xbb,0xd1,0xbc,0xaa,
0xad,0xb2,0xe7,0x9e,0x7e,0xf6,0x79,0xe1,0xed,0x66,0xfb,0xcc,0x86,0xc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,0x23,0xae,0x61,0xb6,0x89,0x5a,0x0d,0x74,0x26,0x83,
0x8e,0x73,0x5a,0x57,0xec,0xab,0x72,0xaf,0xd9,0xff,0x59,0x85,0x46,0xeb,0x14,0x0c,
0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// 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;
//
// #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(usampler2D(color, blitSampler), srcImageCoords * params.invSrcExtent, params.srcMip);
//
// broadcastColor(colorValue);
//
// }