Hash :
46a955f8
Author :
Date :
2021-02-25T16:06:05
gen_vk_internal_shaders: Don't include full path on Python 3.4+. Since Python 3.4 `__file__` represents an absolute file path: https://docs.python.org/3.4/whatsnew/3.4.html#other-language-changes We only want the basename in the generated scripts. Bug: angleproject:5516 Change-Id: Ia4009419ef627aa1ce12f9a944539c054edc3a6b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2720260 Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
// 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,0x94,0x5d,0x4f,0x13,0x41,
0x14,0x86,0x67,0x77,0xe9,0x6e,0xad,0xb4,0x85,0xb6,0x50,0x1b,0x8b,0x54,0xda,0x44,
0x02,0xb8,0x25,0x6a,0x91,0x56,0x0b,0xd4,0x80,0x22,0x94,0xf8,0x81,0xe8,0xa5,0x31,
0xf1,0xc6,0x0b,0xb9,0xd1,0x6b,0x2f,0xfc,0x3b,0xfe,0x3e,0xe3,0x47,0x62,0xe2,0x39,
0xd3,0x67,0xcc,0x89,0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0x90,0x3b,0x32,0x1a,0xee,
0x82,0x07,0x0d,0xe7,0x60,0x81,0xa7,0x1a,0x42,0xac,0xbe,0xd1,0x70,0x01,0xa7,0x87,
0x4f,0x6e,0x34,0xec,0xa0,0x61,0x60,0x34,0xdc,0x07,0x0f,0x1a,0x76,0xc1,0x82,0x86,
0x91,0xd1,0xa0,0xb6,0xa1,0x8c,0x11,0x79,0x87,0xf4,0x91,0xe6,0x7d,0x48,0xee,0x0b,
0xd3,0xdf,0x5a,0x63,0xe0,0x8e,0x4c,0x8d,0xaf,0xe1,0xf5,0xf1,0x1b,0x52,0x8f,0xbe,
0x81,0x47,0xf4,0xbf,0xd6,0xac,0xbd,0xfe,0x98,0x9a,0x0f,0xe1,0xa4,0xfe,0x3f,0x6e,
0x86,0x87,0xf3,0x7b,0x4a,0x4c,0x67,0xb0,0x13,0xb0,0xc8,0xdf,0x65,0xea,0xdf,0xc9,
0x29,0xdc,0x13,0x62,0xbc,0x95,0x6a,0xf4,0x4d,0x4c,0xc9,0xab,0xf6,0x03,0xfa,0x5b,
0xe3,0xe8,0xdb,0x3d,0xc3,0xee,0xfc,0xdb,0x4e,0xfc,0xfb,0x56,0xec,0x8f,0x44,0xde,
0x95,0xf1,0x17,0xd3,0x48,0xc0,0x0a,0xe8,0x06,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// #extension GL_EXT_samplerless_texture_functions : require
//
// 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;
//
// layout(set = 0, binding = 0)uniform texture2DMSArray depth;
//
// void main()
// {
//
// 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;
//
// gl_FragDepth = texelFetch(depth, ivec3(srcImageCoords, params . srcLayer), 0). x;
//
// }