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.00000017.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000017[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x7d,0x94,0x4b,0x4f,0x54,0x41,
0x10,0x85,0x7b,0xe6,0xc2,0x45,0x44,0x5e,0x41,0x06,0x31,0xc6,0xa0,0xb8,0xd3,0x10,
0x16,0x68,0x4c,0x88,0x46,0x17,0xbc,0x0c,0x2a,0x2f,0x01,0x71,0x31,0x41,0x98,0xc4,
0x51,0x5e,0x32,0x68,0x46,0x25,0x98,0x41,0x89,0x2c,0x4c,0xe4,0x21,0xf8,0x03,0x5c,
0xfa,0xfb,0x8c,0x8f,0xc4,0xc4,0x3a,0xf7,0x7e,0x2d,0x1d,0x16,0xde,0xa4,0xa7,0xbb,
0x4e,0x55,0x9d,0xaa,0xea,0xaa,0x9e,0x28,0xdb,0x59,0xe3,0x5c,0xc6,0xd5,0xb9,0x13,
0xee,0x8b,0x4b,0xbf,0x66,0x97,0x35,0x24,0xdd,0x0f,0x5a,0x9c,0x3b,0xe9,0x6a,0xdd,
0xf8,0xc8,0x64,0xbe,0x6f,0x7a,0x22,0x5f,0x7a,0x32,0x3b,0x5f,0x58,0xcd,0x97,0xd6,
0x0a,0x4b,0x73,0xc5,0x85,0x7c,0xa1,0xbc,0xb2,0xbc,0xba,0x66,0xb6,0x75,0x2e,0x4e,
0x7c,0x06,0x86,0xc7,0x87,0xbb,0x4a,0x6b,0xf3,0x5d,0x3d,0x57,0xbb,0xc5,0xd5,0xe0,
0xa2,0x84,0x53,0xba,0x46,0x8b,0x51,0x65,0xbb,0xd6,0xe2,0x6c,0x71,0x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03,0xf7,0x35,0xbc,0x07,0xf3,0x35,0x6c,0x07,0x35,0x48,
0xb7,0x65,0x6b,0x9b,0xb8,0x5b,0xcc,0x91,0xe2,0x7e,0x20,0xf6,0x41,0x30,0xff,0xca,
0xd1,0xdb,0x6e,0x07,0x39,0x1e,0x62,0x57,0xc1,0x6f,0x8b,0x7c,0xf4,0x4e,0xef,0xf0,
0x46,0x95,0xb3,0xde,0xe7,0x3d,0x72,0xde,0xc7,0x26,0x4e,0x62,0xa6,0xb8,0xbf,0xbf,
0x51,0x38,0x5d,0x80,0x8d,0x81,0x29,0x97,0x11,0x43,0xf4,0xb6,0xc7,0xb1,0x1d,0x83,
0x23,0x6f,0xd9,0xe8,0x4d,0x4c,0x10,0x57,0xfa,0x5b,0xcc,0xb7,0x78,0xf4,0xff,0xf2,
0x00,0xbd,0xbe,0x9b,0x76,0x1f,0xfd,0x60,0xca,0x45,0x6f,0xfa,0x11,0xef,0x59,0x5c,
0x7a,0xcb,0x73,0x60,0xc7,0xb9,0x74,0xd7,0xf3,0xe8,0x5d,0xd2,0x97,0xb4,0x96,0x02,
0xb8,0xb8,0xa7,0x90,0xff,0x58,0xd6,0xd7,0x6d,0xfd,0x05,0x4e,0x37,0x18,0x14,0xac,
0x07,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// #extension GL_EXT_samplerless_texture_functions : require
//
// #extension GL_ARB_shader_stencil_export : require
//
// layout(set = 0, binding = 0) uniform texture2DMSArray depth;
//
// layout(set = 0, binding = 1) uniform utexture2DMSArray stencil;
//
// #line 1 "shaders/src/BlitResolve.inc"
//
// layout(push_constant) uniform PushConstants {
//
// ivec2 offset;
// vec2 stretch;
// vec2 invSrcExtent;
// int srcMip;
// int srcLayer;
// int samples;
// float invSamples;
//
// int outputMask;
//
// bool flipX;
// bool flipY;
// bool rotateXY;
// } params;
//
// ivec2 getSrcImageCoords()
// {
//
// ivec2 srcImageCoords = ivec2(gl_FragCoord.xy);
//
// 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;
// }
//
// #line 123 "shaders/src/BlitResolve.frag"
//
// void main()
// {
// ivec2 srcImageCoords = getSrcImageCoords();
//
// gl_FragDepth = texelFetch(depth, ivec3(srcImageCoords, params.srcLayer), 0).x;
//
// gl_FragStencilRefARB = int(texelFetch(stencil, ivec3(srcImageCoords, params.srcLayer), 0).x);
//
// }