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.0000000F.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_0000000F[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x93,0x5d,0x4f,0x53,0x41,
0x10,0x86,0xb7,0xe7,0xd0,0x53,0x89,0x16,0x4a,0x94,0x22,0xc6,0x98,0x6a,0xbd,0xd3,
0x10,0x2e,0xd0,0x98,0x10,0x8d,0x5e,0x50,0xc1,0xa0,0x42,0xd1,0x0b,0x44,0x82,0x88,
0x9a,0xa2,0xb5,0xa6,0x02,0xb1,0x17,0x46,0xa1,0x88,0xfe,0x18,0x7f,0x9f,0xf1,0x23,
0x31,0x71,0xde,0xd3,0x67,0x75,0xe2,0x26,0x7b,0x66,0xe7,0x9d,0xcf,0x77,0xf6,0x6c,
0x9a,0xd4,0x4b,0x21,0x14,0xc2,0xf1,0x70,0x2c,0x7c,0x09,0x83,0x35,0x16,0x12,0x43,
0x82,0x61,0x59,0x2e,0x6f,0x2f,0xae,0x2c,0x4e,0xed,0xec,0x3e,0x9b,0x9a,0xb9,0x32,
0x2d,0xfb,0x48,0x48,0x73,0x3f,0xd9,0x46,0x43,0x29,0x0c,0x99,0xd4,0x7e,0xbd,0xb9,
0xdd,0x11,0x5e,0xb1,0xdd,0xc8,0x65,0x9a,0xe3,0x25,0x77,0x3e,0xa1,0x7c,0x76,0xaa,
0xe4,0xf9,0x15,0x2f,0x3d,0x0d,0x55,0x93,0x89,0xed,0xf9,0x50,0xcc,0xcf,0x5a,0x75,
0x64,0xc4,0x0a,0x60,0x67,0x1d,0x96,0x80,0x5d,0x76,0x58,0x0a,0x36,0xed,0xb0,0x21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c,0x1a,0x60,0xbf,0x2d,0xf3,0x35,0xdb,0x7f,0x00,0x25,0x77,0xbe,0x9f,0x70,
0x06,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_GOOGLE_include_directive : require
//
// #extension GL_EXT_samplerless_texture_functions : require
//
// layout(set = 0, binding = 0) uniform texture2DMSArray depth;
//
// #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;
//
// }