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 97 98 99 100
// 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.0000000C.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kBlitResolve_frag_0000000C[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x5d,0x94,0xdb,0x6f,0x52,0x41,
0x10,0xc6,0x97,0x73,0x80,0x83,0x95,0x2a,0x2d,0xa5,0x60,0xed,0xc5,0x16,0x5b,0x05,
0x95,0xa0,0x82,0xa9,0x41,0x2c,0xda,0x52,0xac,0xa0,0xb6,0xc5,0x5b,0xa2,0xd5,0x98,
0xf8,0xe2,0x83,0xbe,0xe8,0xbb,0x0f,0xc6,0xbf,0xc6,0xbf,0xcf,0x78,0x49,0x4c,0x9c,
0x59,0x7e,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0xc2,0xc9,0x10,0x53,
0x33,0x1a,0xae,0xa2,0xa1,0x69,0x34,0x5c,0x03,0x0f,0x1a,0xae,0x83,0x05,0x0d,0x6d,
0xa3,0x41,0x7d,0x2d,0x59,0x6d,0xea,0xb6,0x8c,0x86,0x4d,0x6a,0xa7,0x8c,0x86,0x9b,
0xe0,0x41,0xc3,0x0b,0xb0,0xc0,0x53,0x0d,0x21,0x57,0xdb,0x68,0x38,0x82,0x53,0x27,
0xa6,0x65,0x34,0xdc,0x42,0x43,0xc7,0x68,0xe8,0x82,0x07,0x0d,0xb7,0xc1,0x82,0x86,
0x9e,0xd1,0xa0,0xbe,0x2d,0x59,0x3d,0xea,0xea,0xf7,0x23,0xea,0xde,0xa5,0xf6,0x91,
0xb9,0x3b,0xda,0x63,0xe0,0xf6,0x4c,0x8f,0xaf,0xe0,0xb5,0x89,0xdb,0xa2,0x9f,0xbe,
0xff,0xef,0x9d,0xdc,0x2d,0xb5,0xf5,0x1e,0x8d,0xb8,0x43,0x4f,0xa5,0x3f,0xbd,0x3f,
0x0f,0xe1,0x8c,0xcc,0xb9,0x3c,0x40,0xd7,0xbe,0x39,0x97,0x87,0xe0,0xe1,0x3c,0x8f,
0xa9,0xab,0xf8,0x33,0xc1,0xf4,0x4e,0x3d,0x26,0xdf,0xd8,0xcc,0xe2,0x09,0xb8,0xf3,
0x7b,0x11,0xfb,0xff,0x0a,0xc5,0xfe,0x88,0xaa,0x4d,0x59,0x7f,0x01,0x7c,0x68,0x82,
0xee,0x54,0x07,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// layout(push_constant)uniform PushConstants {
//
// vec2 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 texture2D depth;
//
// layout(set = 0, binding = 2)uniform sampler blitSampler;
//
// void main()
// {
//
// vec2 srcImageCoords = vec2(gl_FragCoord . xy);
//
// srcImageCoords *= params . stretch;
//
// 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 = texture(sampler2D(depth, blitSampler), srcImageCoords * params . invSrcExtent). x;
//
// }