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.00000013.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_00000013[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x93,0x5d,0x6b,0x53,0x41,
0x10,0x86,0x37,0x39,0xc9,0x89,0xb1,0xb4,0x4d,0xa9,0x4d,0xad,0x88,0x44,0xe3,0x9d,
0x52,0x7a,0x51,0x45,0x10,0x45,0x2f,0x92,0xb4,0x52,0x35,0x4d,0x6a,0x15,0xaa,0x1e,
0x62,0x13,0x6c,0x63,0x13,0x6b,0x13,0x8d,0x06,0x11,0x4c,0x5b,0xab,0x3f,0x40,0xff,
0x80,0x97,0xfe,0x3e,0xf1,0x03,0x04,0x67,0xf6,0x3c,0x8b,0x8b,0x07,0xf6,0xcc,0xce,
0x3b,0x33,0xef,0x7c,0xec,0x6e,0x90,0x2c,0x66,0x8c,0x49,0x98,0x31,0x73,0xcc,0x7c,
0x32,0xf1,0x37,0x65,0x92,0x82,0xc4,0xf2,0xf3,0xb4,0x31,0xc7,0x4d,0xd6,0xd4,0xab,
0xeb,0x51,0xe9,0xc1,0x5a,0xd4,0xdb,0x6a,0x34,0x5b,0x7b,0x51,0xaf,0xdf,0xea,0x6e,
0x6e,0xef,0x44,0xad,0xd7,0xbb,0xcf,0xf7,0xfa,0xe2,0x3b,0x66,0x42,0x1b,0x53,0x59,
0xa9,0xaf,0xcc,0xf7,0xfa,0xcd,0xf9,0xc5,0x4b,0x0b,0xca,0x35,0x61,0x02,0xcb,0xa9,
0xb6,0x49,0x93,0x31,0x29,0x91,0xba,0x3a,0x8d,0xed,0xae,0xe2,0x39,0x59,0x65,0x2b,
0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0xf5,0xed,0xdc,0xa1,0xe6,0x43,0x7c,0x42,0x9b,0x33,
0xc6,0xdd,0xfc,0x56,0xe1,0x34,0x1e,0x56,0x03,0xd3,0x5a,0xaa,0x82,0xe8,0xbb,0xab,
0xe3,0x5b,0x83,0x23,0x92,0x6a,0xf4,0xfd,0xdd,0x23,0xaf,0xda,0x6f,0x70,0xbf,0x95,
0x47,0xe7,0xb3,0x8e,0x5d,0xbf,0xb7,0xe4,0xbf,0x0f,0x7e,0x5d,0xe6,0x53,0x46,0xff,
0x23,0x99,0xae,0xc8,0xfa,0x0b,0x0d,0x0e,0x0d,0x53,0xbc,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 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_FragStencilRefARB = int(texelFetch(stencil, ivec3(srcImageCoords, params.srcLayer), 0).x);
//
// }