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.00000006.inc:
// Pre-generated shader for the ANGLE Vulkan back-end.
#pragma once
constexpr uint8_t kImageClear_frag_00000006[] = {
0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x02,0xff,0x2d,0x50,0xbb,0x0a,0xc2,0x40,
0x10,0x5c,0x93,0x98,0x33,0x3e,0x12,0xa3,0xa8,0x9d,0x28,0x29,0x85,0x60,0xa1,0x22,
0x88,0x82,0x55,0x2c,0xd2,0xf9,0x05,0x82,0x8d,0x85,0x36,0xfa,0xf1,0x36,0x82,0x33,
0x97,0x39,0x98,0xdb,0xdb,0xb9,0xd9,0xd9,0xbd,0x0b,0x83,0xc2,0x99,0xb5,0xac,0x6b,
0x1d,0x1b,0x59,0xb3,0x72,0x0b,0xc0,0x98,0xf5,0x2c,0xf6,0xb1,0xaa,0xaf,0x75,0xf9,
0xfe,0xdc,0xcb,0xcd,0x76,0xcd,0xfb,0xd4,0x42,0xaf,0xe3,0x5d,0x06,0x4d,0x84,0x48,
0x3c,0x6f,0x8f,0x17,0xf9,0x04,0x18,0x42,0x43,0xce,0xb1,0x1e,0x27,0x72,0x73,0x20,
0x06,0x2e,0xd6,0x46,0xbf,0x66,0x15,0x8a,0x15,0xf4,0xe4,0x02,0x60,0x8c,0x9d,0x71,
0x09,0x2e,0x14,0x37,0xc5,0x89,0xb5,0x0b,0x60,0x06,0x3f,0x27,0xaf,0xc8,0x73,0x11,
0xa6,0x37,0xaf,0x25,0x7f,0x50,0x9e,0x88,0x9b,0xcb,0xdb,0x49,0xdb,0xd3,0x5d,0x57,
0x5a,0xe6,0x7d,0x71,0x13,0xe4,0x03,0xf5,0xe1,0xfb,0x56,0xca,0x53,0xcd,0xc9,0xfa,
0x4c,0x5a,0xfa,0xed,0xf0,0x96,0x40,0x73,0x98,0xfa,0x7d,0xc1,0xb4,0x11,0xcf,0xd8,
0x33,0xff,0x17,0x8d,0x3f,0x3d,0x8e,0x9a,0x3d,0x17,0x7f,0x42,0x45,0xa2,0xfc,0x87,
0x8e,0x7b,0xe0,0x0f,0xc5,0x8f,0x1b,0x8d,0x94,0x01,0x00,0x00
};
// Generated from:
//
// #version 450 core
//
// layout(push_constant)uniform PushConstants {
// vec4 clearColor;
// } params;
//
// layout(location = 6)out vec4 colorOut;
//
// void main()
// {
// colorOut = params . clearColor;
// }