Hash :
36a97db1
Author :
Date :
2020-07-02T23:29:45
Vulkan: Compress internal shaders Shaves ~200KB in binary size. The compressed SPIR-V blobs are in most cases a little smaller than 1/3 of the original size. The internal shader blobs at this point take ~100KB. Bug: angleproject:2022 Change-Id: I1a2cec073cb1f330632c8dce7a550a0cca1e373d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2280945 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Tim Van Patten <timvp@google.com> Reviewed-by: 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
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_vk_internal_shaders.py.
//
// Copyright 2020 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.0000000E.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kImageClear_frag_0000000E[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x2d,0x90,0x3b,0x0b,0xc2,0x40,
0x10,0x84,0xd7,0x3c,0x4d,0xa2,0x31,0x41,0xc4,0x2e,0x28,0x29,0x85,0x60,0xa1,0x22,
0x88,0x82,0x55,0x2c,0xd2,0xf9,0x0b,0x04,0x1b,0x0b,0x6d,0xf4,0xc7,0xdb,0x08,0xce,
0x5c,0xe6,0x60,0x6f,0xb3,0xdf,0xce,0x3e,0x2e,0xbe,0x57,0xc7,0x66,0x03,0x4b,0x6d,
0x68,0xa5,0xf5,0xa7,0x34,0x0f,0xc4,0x2c,0xb3,0xc8,0xf9,0xb6,0xbb,0x76,0xcd,0xfb,
0x73,0x6f,0x36,0xdb,0x35,0xf3,0xb9,0xf9,0x4e,0xc7,0xdc,0x04,0x9a,0x00,0x9e,0xf6,
0xbc,0x3d,0x5e,0xe4,0x09,0xac,0x80,0x86,0x2c,0x66,0x3d,0xbe,0xc8,0x2a,0x58,0x04,
0xbb,0x58,0x88,0x79,0xfd,0xa9,0xe5,0x5b,0xe8,0xc9,0x3c,0xd8,0x14,0x37,0xfd,0x12,
0xcc,0x17,0x9b,0xa1,0x07,0x6b,0x17,0x9a,0x3b,0x47,0x1c,0xab,0x5f,0xe0,0x78,0x80,
0x17,0x98,0xd3,0x93,0x1f,0x14,0x27,0x62,0x95,0xfa,0xc7,0xd2,0x66,0xca,0xa5,0xd2,
0x32,0x1e,0x89,0xad,0x34,0x6b,0xac,0xdd,0xa8,0xcf,0x95,0x63,0xfd,0x0e,0xfb,0x7b,
0x9a,0x6b,0xea,0xff,0x05,0x09,0xe1,0xcf,0xb8,0x73,0xf7,0x5f,0xfa,0x7e,0xec,0x71,
0xd4,0xae,0x85,0xf8,0x09,0x15,0x89,0xe2,0x1f,0x5e,0xb3,0x87,0xfd,0x01,0xa5,0x9c,
0x84,0x06,0x88,0x01,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// layout(push_constant)uniform PushConstants {
// ivec4 clearColor;
// } params;
//
// layout(location = 6)out ivec4 colorOut;
//
// void main()
// {
// colorOut = params . clearColor;
// }