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.00000000.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000000[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x95,0x4b,0x68,0x55,0x57,
0x14,0x86,0xf7,0x3e,0xf7,0xde,0xdc,0x98,0x88,0xb5,0x34,0x35,0x37,0x2f,0x4d,0xe2,
0x40,0xa1,0x25,0x38,0x50,0x11,0x44,0xd1,0x91,0x0e,0x02,0xd2,0x46,0x24,0x93,0x0c,
0x02,0x25,0xe0,0xa0,0x29,0xd8,0x42,0x06,0x0e,0x0c,0x98,0x0e,0x32,0x70,0x92,0x49,
0xea,0x5b,0x7c,0x8b,0x13,0x1f,0xa8,0x68,0x2b,0x4a,0x5a,0xa3,0x92,0xb6,0xa1,0x01,
0xdb,0x4a,0xc0,0x4a,0xa0,0x95,0x40,0x95,0x80,0x4a,0xac,0xd5,0xe0,0x5a,0xe7,0x7c,
0xcb,0x2c,0xee,0x85,0xc5,0x39,0xff,0xff,0xaf,0xb5,0xfe,0xbd,0xf6,0xd9,0xe7,0xdc,
0x5c,0xb2,0xbc,0x18,0x42,0x0c,0xd5,0xa1,0x32,0xb4,0xc4,0x90,0xfe,0x3e,0x0c,0x49,
0xd0,0xdb,0xea,0x50,0x91,0x5e,0xb7,0xb4,0x77,0xb4,0xb7,0x7d,0xfd,0xcd,0x17,0x6d,
0xab,0xd7,0xac,0x52,0x7d,0x51,0xc8,0xa5,0x79,0xaa,0x7d,0x20,0x28,0x2f,0x57,0x8d,
0x2f,0xbb,0x77,0xf6,0x2a,0x5f,0x23,0xb1,0x5d,0xa2,0x4b,0xa2,0x47,0x42,0xc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0x7c,0x55,0xd6,0x49,0xbc,0x03,0x5d,
0x00,0x65,0xfd,0x04,0x0c,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// layout(set = 0, binding = 0) uniform texture2D 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;
//
// #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(vec4 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();
//
// vec4 colorValue = textureLod(sampler2D(color, blitSampler), srcImageCoords * params.invSrcExtent, params.srcMip);
//
// broadcastColor(colorValue);
//
// }