| // 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,0x4d,0x93,0x5b,0x6b,0x53,0x51, |
| 0x10,0x85,0x77,0xce,0x69,0x2e,0x55,0xd3,0x26,0x68,0x12,0x2b,0x62,0xa3,0xf1,0x41, |
| 0xd0,0x96,0x3e,0xa8,0x04,0x44,0xd1,0x87,0xc6,0x56,0x22,0xd2,0xd6,0x52,0xb5,0xa8, |
| 0xa9,0x06,0x25,0x6a,0x6a,0xc0,0x82,0x56,0xc1,0x07,0xff,0x8e,0xbf,0x4f,0xbc,0x80, |
| 0xe0,0xac,0x9d,0x6f,0xd7,0xd9,0x30,0xd9,0x67,0xd6,0x5c,0xd7,0xec,0x49,0x9e,0x75, |
| 0xca,0x21,0x14,0xc2,0xb1,0x50,0x09,0x5f,0xc2,0xf4,0xd4,0x43,0x66,0x48,0x08,0xc7, |
| 0x43,0x29,0xde,0x77,0xfb,0x5b,0xfd,0xe5,0x0f,0x07,0xc3,0xe5,0xab,0xd7,0x56,0x64, |
| 0x9f,0x0b,0x79,0xf4,0x93,0x6d,0x3e,0x94,0xc3,0x8c,0xdd,0x92,0xf1,0xde,0x68,0x5f, |
| 0x78,0xcd,0xa4,0x17,0xef,0x3c,0xe2,0x65,0xf7,0x7d,0x42,0xf9,0xec,0xab,0x16,0xf3, |
| 0x2b,0x3e,0x84,0xb5,0x50,0x0c,0x4d,0x6a,0x77,0xb8,0x13,0x56,0x00,0xab,0x38,0x2c, |
| 0x03,0xab,0x39,0x2c,0x07,0x3b,0xed,0xb0,0x19,0x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,0xb5,0x07,0xf6, |
| 0xd7,0x3a,0xe8,0x9a,0xfc,0x03,0x52,0x53,0x8a,0x15,0x54,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 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; |
| // |
| // } |