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.00000012.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000012[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x4d,0x53,0x5d,0x4f,0x53,0x41,
0x10,0x9d,0x7b,0x2f,0x6d,0xad,0x04,0x28,0xc1,0x16,0xf1,0xc1,0x54,0xeb,0x9b,0x86,
0xf0,0x80,0xc6,0xc4,0x68,0xf4,0xa1,0x2d,0x98,0x2a,0x6a,0x11,0x44,0x25,0x57,0x4a,
0xdb,0xd0,0x14,0x5a,0xbd,0x6d,0x8c,0x02,0x56,0xe3,0x7f,0xd0,0x3f,0xe0,0xa3,0xbf,
0xcf,0xf8,0x91,0x98,0x38,0x67,0xef,0xd9,0x38,0x9b,0x6c,0x77,0xe7,0xcc,0xcc,0x99,
0x39,0xb3,0xb7,0x51,0x58,0xc9,0x89,0x04,0x32,0x2d,0x67,0xe4,0x93,0xa4,0x6b,0x5e,
0x42,0x45,0xd2,0xf3,0xcb,0x82,0xc8,0x59,0xc9,0x4b,0xf3,0xd1,0x56,0x5c,0x7d,0xb6,
0x19,0x8f,0x0e,0xf6,0xda,0x9d,0x24,0x1e,0x8d,0x3b,0x83,0xfd,0xde,0x61,0xdc,0x79,
0xf7,0x7a,0x98,0x8c,0x35,0x76,0x5a,0xb2,0x2e,0xa7,0xde,0x68,0x36,0x96,0x47,0xe3,
0xf6,0xf2,0xea,0xf5,0x15,0x70,0xcd,0x4a,0xe4,0x38,0xe1,0x9b,0x93,0x9c,0x4c,0xe9,
0x89,0x7d,0xb4,0xd7,0x1b,0x00,0x2f,0xe8,0xae,0xb9,0x33,0x72,0x78,0xce,0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0x1d,0xdd,0xd4,0xfd,0x0f,0x82,
0x2e,0xf4,0xb3,0x10,0x06,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 = 1) uniform utexture2DMS 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_FragStencilRefARB = int(texelFetch(stencil, srcImageCoords, 0).x);
//
// }