@null3d/vite-plugin 0.0.0-stage → 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/LICENSE-APACHE +176 -0
  2. package/LICENSE-MIT +21 -0
  3. package/THIRD-PARTY-NOTICES.txt +398 -0
  4. package/dist/shader-compiler.stamp.json +4 -0
  5. package/dist/shader-compiler.wasm +0 -0
  6. package/lib/assets.d.ts +94 -0
  7. package/lib/assets.js +189 -0
  8. package/lib/client.d.ts +21 -0
  9. package/lib/compile-pool.d.ts +25 -0
  10. package/lib/compile-pool.js +90 -0
  11. package/lib/compile-worker.js +11 -0
  12. package/lib/compiler-calls.d.ts +26 -0
  13. package/lib/compiler-calls.js +97 -0
  14. package/lib/compiler-stamp.d.ts +8 -0
  15. package/lib/compiler-stamp.js +34 -0
  16. package/lib/declarations.d.ts +10 -0
  17. package/lib/declarations.js +80 -0
  18. package/lib/engine-shaders-local.d.ts +6 -0
  19. package/lib/engine-shaders-local.js +75 -0
  20. package/lib/engine-shaders.d.ts +61 -0
  21. package/lib/engine-shaders.js +170 -0
  22. package/lib/hash-pool.d.ts +24 -0
  23. package/lib/hash-pool.js +84 -0
  24. package/lib/hash-worker.js +53 -0
  25. package/lib/hot.d.ts +53 -0
  26. package/lib/hot.js +101 -0
  27. package/lib/index.d.ts +95 -0
  28. package/lib/index.js +895 -0
  29. package/lib/material-builds.d.ts +91 -0
  30. package/lib/material-builds.js +236 -0
  31. package/lib/offline.d.ts +92 -0
  32. package/lib/offline.js +304 -0
  33. package/lib/pack.d.ts +30 -0
  34. package/lib/pack.js +112 -0
  35. package/lib/package-files.d.ts +12 -0
  36. package/lib/package-files.js +39 -0
  37. package/lib/paragraphs.d.ts +19 -0
  38. package/lib/paragraphs.js +131 -0
  39. package/lib/shader-cache.d.ts +59 -0
  40. package/lib/shader-cache.js +213 -0
  41. package/lib/shader-compiler.d.ts +258 -0
  42. package/lib/shader-compiler.js +169 -0
  43. package/lib/shader-types.d.ts +261 -0
  44. package/lib/shader-types.js +4 -0
  45. package/lib/wgsl.d.ts +118 -0
  46. package/lib/wgsl.js +446 -0
  47. package/lib/worker-preload.d.ts +17 -0
  48. package/lib/worker-preload.js +65 -0
  49. package/package.json +69 -5
  50. package/README.md +0 -3
package/LICENSE-APACHE ADDED
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
package/LICENSE-MIT ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ramesh Nair
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,398 @@
1
+ Third-party code in the null3D Vite plugin
2
+
3
+ The @null3d/vite-plugin package ships a WebAssembly module, dist/shader-compiler.wasm, which the
4
+ build runs to compile the engine's WGSL. The module is built from the null3D crates and the Rust
5
+ crates below. Each section names the crates, their licenses, and the notices that a license asks a
6
+ copy to carry. The npm packages that the plugin depends on carry their own licenses.
7
+
8
+ The module also holds the text of every WGSL file in the engine's shader library
9
+ (crates/null3d-shaders/wgsl and its lib folder), so the projects whose code those shaders port
10
+ need their notices here too. They are named first.
11
+
12
+ ==============================================================================
13
+ three.js: the shaders of the engine's shader library that its code ports
14
+ ==============================================================================
15
+
16
+ The compiler holds the engine's ports of three.js 0.186.1's code, from
17
+ https://github.com/mrdoob/three.js: the GTAO and Poisson denoise passes, the wide line shaders,
18
+ the atmosphere and sky, the trace of the built-in room, and the coat, sheen, iridescence,
19
+ refraction and cutout code.
20
+
21
+ Copyright © 2010-2026 three.js authors
22
+
23
+ The MIT License, whose text is below.
24
+
25
+ ==============================================================================
26
+ Filament: the specular anti-aliasing kernel, the anisotropic highlight and AgX's punchy look
27
+ ==============================================================================
28
+
29
+ The engine's shader library follows Filament's specular anti-aliasing kernel, its anisotropic GGX
30
+ highlight and the two constants of AgX's punchy look, from https://github.com/google/filament.
31
+
32
+ Copyright 2023 The Android Open Source Project
33
+
34
+ Apache License, Version 2.0, whose text is below.
35
+
36
+ ==============================================================================
37
+ KinoBokeh and Unity's post-processing stack v1: the depth of field
38
+ ==============================================================================
39
+
40
+ The engine's depth-of-field shader ports KinoBokeh, by Keijiro Takahashi, from
41
+ https://github.com/keijiro/KinoBokeh, and follows the composite of Unity's post-processing stack
42
+ v1's depth of field, from https://github.com/Unity-Technologies/PostProcessing.
43
+
44
+ KinoBokeh: Copyright (C) 2016 Unity Technologies and Copyright (C) 2015 Keijiro Takahashi
45
+ Unity's post-processing stack v1: Copyright (c) 2014-2017, Unity Technologies
46
+
47
+ The MIT License, whose text is below.
48
+
49
+ ==============================================================================
50
+ AMD FidelityFX: FSR 1's RCAS sharpening and SSSR's ray march
51
+ ==============================================================================
52
+
53
+ The engine's final shader translates FidelityFX Super Resolution 1's RCAS filter, and its
54
+ screen-space reflection shader follows the structure of FidelityFX Stochastic Screen Space
55
+ Reflections, both from https://github.com/GPUOpen-Effects.
56
+
57
+ Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
58
+
59
+ The MIT License, whose text is below.
60
+
61
+ ==============================================================================
62
+ Qualcomm Snapdragon Game Super Resolution 1: the render-scale upscale
63
+ ==============================================================================
64
+
65
+ The engine's final shader ports Snapdragon Game Super Resolution 1's fragment shader, from
66
+ https://github.com/SnapdragonStudios/snapdragon-gsr, keeping Qualcomm's lanczos window, weighted
67
+ taps, edge vote and delta clamp.
68
+
69
+ Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
70
+
71
+ BSD 3-Clause License, whose text is below.
72
+
73
+ ==============================================================================
74
+ naga, naga-types and naga_oil: WGSL parsing, validation and translation
75
+ ==============================================================================
76
+
77
+ naga 30.0.1, naga-types 30.0.1 and naga_oil 0.23.0, from https://github.com/gfx-rs/wgpu and
78
+ https://github.com/bevyengine/naga_oil. Each is offered under the MIT License or the Apache
79
+ License 2.0, and null3D takes them under the MIT License.
80
+
81
+ Copyright the gfx-rs developers and the naga_oil contributors.
82
+ ==============================================================================
83
+ serde, serde_json and the toml crates: the module's data formats
84
+ ==============================================================================
85
+
86
+ serde 1.0.229, serde_core 1.0.229 and serde_json 1.0.151 are each offered under the MIT License
87
+ or the Apache License 2.0, and null3D takes them under the MIT License.
88
+
89
+ Copyright the serde authors.
90
+
91
+ toml 1.1.6, toml_datetime 1.1.1, toml_parser 1.1.3, toml_writer 1.1.2 and serde_spanned 1.1.1
92
+ are each offered under the MIT License or the Apache License 2.0, and null3D takes them under the
93
+ MIT License.
94
+
95
+ Copyright (c) the toml contributors.
96
+
97
+ ==============================================================================
98
+ The remaining crates of the shader compiler
99
+ ==============================================================================
100
+
101
+ Each crate below is offered under the MIT License or the Apache License 2.0, and null3D takes it
102
+ under the MIT License, except where the line gives another license or another choice. The version
103
+ is the one in the module, and each crate's own package carries its copyright notice.
104
+
105
+ - arrayvec 0.7.8, bit-set 0.10.0, bit-vec 0.9.1, bitflags 2.13.2, cfg-if 1.0.5, equivalent
106
+ 1.0.2, half 2.7.1, hashbrown 0.17.1, indexmap 2.14.2, itoa 1.0.18, log 0.4.34, num-traits
107
+ 0.2.19, once_cell 1.21.4, pin-project-lite 0.2.17, regex 1.13.1, regex-automata 0.4.18,
108
+ regex-syntax 0.8.11, rustc-hash 1.1.0, smallvec 1.16.2, thiserror 2.0.21, unicode-width 0.2.2
109
+ and zerocopy 0.8.59: Copyright their authors.
110
+ - aho-corasick 1.1.5, memchr 2.8.3 and termcolor 1.4.1, each offered under the Unlicense or the
111
+ MIT License, and null3D takes them under the MIT License: Copyright (c) Andrew Gallant.
112
+ - data-encoding 2.11.1, libm 0.2.16, tracing 0.1.44, tracing-core 0.1.36, winnow 1.0.4 and zmij
113
+ 1.0.23, under the MIT License: Copyright their authors.
114
+ - crunchy 0.2.4, under the MIT License: Copyright (c) Eira Fransham.
115
+ - foldhash 0.2.0, under the Zlib License: Copyright (c) Orson Peters. Its license text follows.
116
+ - codespan-reporting 0.12.0 and 0.13.1, under the Apache License 2.0: Copyright (c) Brendan
117
+ Zabarauskas. The license text is in the package's LICENSE-APACHE file.
118
+
119
+ ==============================================================================
120
+ The MIT License
121
+ ==============================================================================
122
+
123
+ Permission is hereby granted, free of charge, to any person obtaining a copy
124
+ of this software and associated documentation files (the "Software"), to deal
125
+ in the Software without restriction, including without limitation the rights
126
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
127
+ copies of the Software, and to permit persons to whom the Software is
128
+ furnished to do so, subject to the following conditions:
129
+
130
+ The above copyright notice and this permission notice shall be included in all
131
+ copies or substantial portions of the Software.
132
+
133
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
134
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
135
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
136
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
137
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
138
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
139
+ SOFTWARE.
140
+
141
+ ==============================================================================
142
+ The Zlib License, as foldhash ships it
143
+ ==============================================================================
144
+
145
+ Copyright (c) 2024 Orson Peters
146
+
147
+ This software is provided 'as-is', without any express or implied warranty. In no event will the
148
+ authors be held liable for any damages arising from the use of this software.
149
+
150
+ Permission is granted to anyone to use this software for any purpose, including commercial
151
+ applications, and to alter it and redistribute it freely, subject to the following restrictions:
152
+
153
+ 1. The origin of this software must not be misrepresented; you must not claim that you wrote the
154
+ original software. If you use this software in a product, an acknowledgment in the product
155
+ documentation would be appreciated but is not required.
156
+
157
+ 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being
158
+ the original software.
159
+
160
+ 3. This notice may not be removed or altered from any source distribution.
161
+
162
+ ==============================================================================
163
+ The Apache License, Version 2.0, as Filament ships it
164
+ ==============================================================================
165
+
166
+ Apache License
167
+ Version 2.0, January 2004
168
+ http://www.apache.org/licenses/
169
+
170
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
171
+
172
+ 1. Definitions.
173
+
174
+ "License" shall mean the terms and conditions for use, reproduction,
175
+ and distribution as defined by Sections 1 through 9 of this document.
176
+
177
+ "Licensor" shall mean the copyright owner or entity authorized by
178
+ the copyright owner that is granting the License.
179
+
180
+ "Legal Entity" shall mean the union of the acting entity and all
181
+ other entities that control, are controlled by, or are under common
182
+ control with that entity. For the purposes of this definition,
183
+ "control" means (i) the power, direct or indirect, to cause the
184
+ direction or management of such entity, whether by contract or
185
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
186
+ outstanding shares, or (iii) beneficial ownership of such entity.
187
+
188
+ "You" (or "Your") shall mean an individual or Legal Entity
189
+ exercising permissions granted by this License.
190
+
191
+ "Source" form shall mean the preferred form for making modifications,
192
+ including but not limited to software source code, documentation
193
+ source, and configuration files.
194
+
195
+ "Object" form shall mean any form resulting from mechanical
196
+ transformation or translation of a Source form, including but
197
+ not limited to compiled object code, generated documentation,
198
+ and conversions to other media types.
199
+
200
+ "Work" shall mean the work of authorship, whether in Source or
201
+ Object form, made available under the License, as indicated by a
202
+ copyright notice that is included in or attached to the work
203
+ (an example is provided in the Appendix below).
204
+
205
+ "Derivative Works" shall mean any work, whether in Source or Object
206
+ form, that is based on (or derived from) the Work and for which the
207
+ editorial revisions, annotations, elaborations, or other modifications
208
+ represent, as a whole, an original work of authorship. For the purposes
209
+ of this License, Derivative Works shall not include works that remain
210
+ separable from, or merely link (or bind by name) to the interfaces of,
211
+ the Work and Derivative Works thereof.
212
+
213
+ "Contribution" shall mean any work of authorship, including
214
+ the original version of the Work and any modifications or additions
215
+ to that Work or Derivative Works thereof, that is intentionally
216
+ submitted to Licensor for inclusion in the Work by the copyright owner
217
+ or by an individual or Legal Entity authorized to submit on behalf of
218
+ the copyright owner. For the purposes of this definition, "submitted"
219
+ means any form of electronic, verbal, or written communication sent
220
+ to the Licensor or its representatives, including but not limited to
221
+ communication on electronic mailing lists, source code control systems,
222
+ and issue tracking systems that are managed by, or on behalf of, the
223
+ Licensor for the purpose of discussing and improving the Work, but
224
+ excluding communication that is conspicuously marked or otherwise
225
+ designated in writing by the copyright owner as "Not a Contribution."
226
+
227
+ "Contributor" shall mean Licensor and any individual or Legal Entity
228
+ on behalf of whom a Contribution has been received by Licensor and
229
+ subsequently incorporated within the Work.
230
+
231
+ 2. Grant of Copyright License. Subject to the terms and conditions of
232
+ this License, each Contributor hereby grants to You a perpetual,
233
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
234
+ copyright license to reproduce, prepare Derivative Works of,
235
+ publicly display, publicly perform, sublicense, and distribute the
236
+ Work and such Derivative Works in Source or Object form.
237
+
238
+ 3. Grant of Patent License. Subject to the terms and conditions of
239
+ this License, each Contributor hereby grants to You a perpetual,
240
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
241
+ (except as stated in this section) patent license to make, have made,
242
+ use, offer to sell, sell, import, and otherwise transfer the Work,
243
+ where such license applies only to those patent claims licensable
244
+ by such Contributor that are necessarily infringed by their
245
+ Contribution(s) alone or by combination of their Contribution(s)
246
+ with the Work to which such Contribution(s) was submitted. If You
247
+ institute patent litigation against any entity (including a
248
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
249
+ or a Contribution incorporated within the Work constitutes direct
250
+ or contributory patent infringement, then any patent licenses
251
+ granted to You under this License for that Work shall terminate
252
+ as of the date such litigation is filed.
253
+
254
+ 4. Redistribution. You may reproduce and distribute copies of the
255
+ Work or Derivative Works thereof in any medium, with or without
256
+ modifications, and in Source or Object form, provided that You
257
+ meet the following conditions:
258
+
259
+ (a) You must give any other recipients of the Work or
260
+ Derivative Works a copy of this License; and
261
+
262
+ (b) You must cause any modified files to carry prominent notices
263
+ stating that You changed the files; and
264
+
265
+ (c) You must retain, in the Source form of any Derivative Works
266
+ that You distribute, all copyright, patent, trademark, and
267
+ attribution notices from the Source form of the Work,
268
+ excluding those notices that do not pertain to any part of
269
+ the Derivative Works; and
270
+
271
+ (d) If the Work includes a "NOTICE" text file as part of its
272
+ distribution, then any Derivative Works that You distribute must
273
+ include a readable copy of the attribution notices contained
274
+ within such NOTICE file, excluding those notices that do not
275
+ pertain to any part of the Derivative Works, in at least one
276
+ of the following places: within a NOTICE text file distributed
277
+ as part of the Derivative Works; within the Source form or
278
+ documentation, if provided along with the Derivative Works; or,
279
+ within a display generated by the Derivative Works, if and
280
+ wherever such third-party notices normally appear. The contents
281
+ of the NOTICE file are for informational purposes only and
282
+ do not modify the License. You may add Your own attribution
283
+ notices within Derivative Works that You distribute, alongside
284
+ or as an addendum to the NOTICE text from the Work, provided
285
+ that such additional attribution notices cannot be construed
286
+ as modifying the License.
287
+
288
+ You may add Your own copyright statement to Your modifications and
289
+ may provide additional or different license terms and conditions
290
+ for use, reproduction, or distribution of Your modifications, or
291
+ for any such Derivative Works as a whole, provided Your use,
292
+ reproduction, and distribution of the Work otherwise complies with
293
+ the conditions stated in this License.
294
+
295
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
296
+ any Contribution intentionally submitted for inclusion in the Work
297
+ by You to the Licensor shall be under the terms and conditions of
298
+ this License, without any additional terms or conditions.
299
+ Notwithstanding the above, nothing herein shall supersede or modify
300
+ the terms of any separate license agreement you may have executed
301
+ with Licensor regarding such Contributions.
302
+
303
+ 6. Trademarks. This License does not grant permission to use the trade
304
+ names, trademarks, service marks, or product names of the Licensor,
305
+ except as required for reasonable and customary use in describing the
306
+ origin of the Work and reproducing the content of the NOTICE file.
307
+
308
+ 7. Disclaimer of Warranty. Unless required by applicable law or
309
+ agreed to in writing, Licensor provides the Work (and each
310
+ Contributor provides its Contributions) on an "AS IS" BASIS,
311
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
312
+ implied, including, without limitation, any warranties or conditions
313
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
314
+ PARTICULAR PURPOSE. You are solely responsible for determining the
315
+ appropriateness of using or redistributing the Work and assume any
316
+ risks associated with Your exercise of permissions under this License.
317
+
318
+ 8. Limitation of Liability. In no event and under no legal theory,
319
+ whether in tort (including negligence), contract, or otherwise,
320
+ unless required by applicable law (such as deliberate and grossly
321
+ negligent acts) or agreed to in writing, shall any Contributor be
322
+ liable to You for damages, including any direct, indirect, special,
323
+ incidental, or consequential damages of any character arising as a
324
+ result of this License or out of the use or inability to use the
325
+ Work (including but not limited to damages for loss of goodwill,
326
+ work stoppage, computer failure or malfunction, or any and all
327
+ other commercial damages or losses), even if such Contributor
328
+ has been advised of the possibility of such damages.
329
+
330
+ 9. Accepting Warranty or Additional Liability. While redistributing
331
+ the Work or Derivative Works thereof, You may choose to offer,
332
+ and charge a fee for, acceptance of support, warranty, indemnity,
333
+ or other liability obligations and/or rights consistent with this
334
+ License. However, in accepting such obligations, You may act only
335
+ on Your own behalf and on Your sole responsibility, not on behalf
336
+ of any other Contributor, and only if You agree to indemnify,
337
+ defend, and hold each Contributor harmless for any liability
338
+ incurred by, or claims asserted against, such Contributor by reason
339
+ of your accepting any such warranty or additional liability.
340
+
341
+ END OF TERMS AND CONDITIONS
342
+
343
+ APPENDIX: How to apply the Apache License to your work.
344
+
345
+ To apply the Apache License to your work, attach the following
346
+ boilerplate notice, with the fields enclosed by brackets "[]"
347
+ replaced with your own identifying information. (Don't include
348
+ the brackets!) The text should be enclosed in the appropriate
349
+ comment syntax for the file format. We also recommend that a
350
+ file or class name and description of purpose be included on the
351
+ same "printed page" as the copyright notice for easier
352
+ identification within third-party archives.
353
+
354
+ Copyright 2023 The Android Open Source Project
355
+
356
+ Licensed under the Apache License, Version 2.0 (the "License");
357
+ you may not use this file except in compliance with the License.
358
+ You may obtain a copy of the License at
359
+
360
+ http://www.apache.org/licenses/LICENSE-2.0
361
+
362
+ Unless required by applicable law or agreed to in writing, software
363
+ distributed under the License is distributed on an "AS IS" BASIS,
364
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
365
+ See the License for the specific language governing permissions and
366
+ limitations under the License.
367
+
368
+ ==============================================================================
369
+ The BSD 3-Clause License, as Qualcomm Snapdragon GSR ships it
370
+ ==============================================================================
371
+
372
+ Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
373
+
374
+ Redistribution and use in source and binary forms, with or without
375
+ modification, are permitted provided that the following conditions are met:
376
+
377
+ 1. Redistributions of source code must retain the above copyright notice,
378
+ this list of conditions and the following disclaimer.
379
+
380
+ 2. Redistributions in binary form must reproduce the above copyright notice,
381
+ this list of conditions and the following disclaimer in the documentation
382
+ and/or other materials provided with the distribution.
383
+
384
+ 3. Neither the name of the copyright holder nor the names of its contributors
385
+ may be used to endorse or promote products derived from this software
386
+ without specific prior written permission.
387
+
388
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
389
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
390
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
391
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
392
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
393
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
394
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
395
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
396
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
397
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
398
+ POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,4 @@
1
+ {
2
+ "format": 1,
3
+ "version": "135ea1e9a069731e6ce496e6fb6b0fdc402b237a7268b359fad0b5dd139a95dd"
4
+ }
Binary file