| // 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.0000000E.inc: |
| // Pre-generated shader for the ANGLE Vulkan back-end. |
| |
| #pragma once |
| constexpr uint8_t kBlitResolve_frag_0000000E[] = { |
| 0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x93,0x5b,0x6b,0x53,0x41, |
| 0x14,0x46,0x27,0xe7,0x34,0x39,0x69,0x35,0x6d,0x82,0x26,0xb1,0x22,0x36,0x1a,0x1f, |
| 0x04,0x6d,0xe9,0x43,0x95,0x80,0x28,0xfa,0xd0,0xd8,0x4a,0x44,0xda,0x5a,0xbc,0x04, |
| 0x35,0xd5,0xa0,0x44,0x4d,0x0d,0x58,0xd0,0x2a,0xf8,0xe0,0xdf,0xf1,0xf7,0x89,0x17, |
| 0x10,0xdc,0xdf,0xc9,0x9a,0xba,0xf1,0xc0,0x74,0x32,0x6b,0x5f,0xbf,0x3d,0xd3,0x34, |
| 0x69,0x67,0x21,0x14,0xc2,0x5c,0x28,0x87,0xcf,0x61,0xfa,0xd5,0x42,0x62,0x24,0x84, |
| 0x63,0xa1,0x94,0xef,0xb7,0x7b,0x3b,0xbd,0x95,0xf7,0x07,0xc3,0x95,0xb5,0x2b,0xab, |
| 0xb2,0xcf,0x87,0x34,0xf7,0x93,0x6d,0x21,0x64,0x61,0xc6,0x76,0xad,0xf1,0xde,0x68, |
| 0x5f,0xbc,0x6a,0xab,0x9b,0xef,0x69,0xce,0x33,0xf7,0xfb,0xb8,0xf2,0xd9,0xaf,0x6a, |
| 0x9e,0x5f,0xf1,0x21,0x6c,0x84,0x62,0x68,0x50,0xbb,0xcd,0x1e,0x59,0x01,0x56,0x76, |
| 0x2c,0x81,0x55,0x1d,0x4b,0x61,0xa7,0x1c,0x9b,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f,0xee,0x62,0xd7, |
| 0x77,0xc3,0x7a,0xed,0xc2,0xfe,0x58,0x07,0x1d,0x5b,0x7f,0x01,0x02,0x9b,0x31,0x90, |
| 0x6c,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 texture2DMS 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, srcImageCoords, 0). x; |
| // |
| // } |