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
// 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/ImageClear.frag.0000000C.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kImageClear_frag_0000000C[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x35,0x8f,0xbb,0x0a,0xc2,0x40,
0x10,0x45,0x27,0xbb,0x79,0x98,0x87,0x26,0x51,0xd4,0x2e,0x28,0x29,0x85,0x60,0xa1,
0x22,0x88,0x82,0x95,0x16,0xe9,0xfc,0x02,0xc1,0xc6,0x42,0x1b,0xfd,0x78,0x1b,0xc1,
0x3b,0x9b,0xeb,0xc2,0xec,0xec,0x9c,0xb9,0xf3,0x58,0x6b,0xea,0x48,0xc4,0x93,0x44,
0x7a,0x32,0x94,0xee,0x94,0x62,0x40,0x44,0x52,0x09,0x9d,0x3f,0xb5,0x97,0xb6,0x79,
0xbd,0x6f,0xcd,0x6a,0xbd,0xd4,0xfc,0x40,0xac,0xd3,0x69,0x2e,0x87,0xc6,0x87,0x57,
0x7b,0x5c,0xef,0x4f,0xe5,0x31,0xac,0x80,0x46,0x59,0xa4,0xf5,0x78,0x29,0xab,0x60,
0x21,0xec,0x2c,0x01,0xe6,0x75,0xa7,0xa6,0xff,0x33,0x8f,0xac,0x70,0x75,0xd6,0x31,
0x03,0x1b,0xe1,0x56,0x3f,0x07,0xb3,0x64,0x13,0xbc,0xb4,0xdf,0x0c,0x36,0xc5,0x8c,
0x88,0xfd,0x7d,0xc7,0x7c,0xfc,0x48,0x9c,0x56,0xf9,0x8e,0x71,0x4c,0x56,0x21,0x4e,
0x98,0x0b,0xa9,0x4f,0x99,0x4f,0xa8,0xd7,0x38,0x23,0x1b,0x23,0xee,0x73,0x96,0xee,
0xb8,0x60,0x3c,0xe0,0xfe,0x5a,0x9f,0x53,0xab,0x3d,0x37,0xf8,0x8f,0xe1,0x2e,0xc2,
0x99,0x1f,0x90,0x00,0xfe,0x88,0x3b,0xe7,0x1f,0x33,0xf6,0xd8,0x73,0xff,0x92,0xfc,
0x80,0x8a,0x98,0xf1,0x17,0x13,0xb7,0xb0,0x1f,0x2c,0xc8,0x43,0x76,0xac,0x01,0x00,
0x00
};
// Generated from:
//
// #version 450 core
//
// layout(push_constant)uniform PushConstants {
// vec4 clearColor;
// float clearDepth;
// } params;
//
// layout(location = 6)out vec4 colorOut;
//
// void main()
// {
// colorOut = params . clearColor;
//
// }