Commit Graph

160 Commits

Author SHA1 Message Date
Yixing Lao
9ce2c319a9 ARM64 support for bluegl (#3150)
* ARM64 support for bluegl

* Detect arch with uname

* Use register x16
2020-10-05 10:19:05 -07:00
Philip Rideout
e9ace4e5fb Add jsmn to third_party. 2020-09-29 10:47:35 -07:00
Romain Guy
60ef6581c1 Fix compilation issue with clang 12 2020-09-17 10:02:08 -07:00
Romain Guy
6dc278c551 Update cgltf (#3092)
Adds support for glTF extensions we want to support:
  KHR_materials_ior
  KHR_materials_specular
2020-09-17 08:52:30 -07:00
Philip Rideout
ae9504cbf9 Remove third_party/swiftshader.
These standard headers were unused, we already have them elsewhere in
the repo.
2020-08-31 11:34:07 -07:00
Philip Rideout
b656918c4d Update MoltenVK and its README.
LunarG stopped releasing tarballs for macOS, they use dmg files now.
2020-08-21 16:45:52 -07:00
Philip Rideout
345455cf24 Update vkmemalloc. 2020-08-18 11:12:26 -07:00
Philip Rideout
b4623c9afc Add lightroom IBL, enable ColorGrading by default in gltf_viewer.
The non-legacy ACES is now default, it looks much better.

I also tested this IBL with WebGL and Android.
2020-07-30 11:39:36 -07:00
Pixelflinger
ca68ef22e1 update glslang to latest
glslang repo SHA: f3cb1896971f449706bb1df5053d0e8fad6b0675


This fixes another highp bug.
2020-07-23 16:11:14 -07:00
Ben Doherty
a25179b91e Update imgui to v1.77 (#2834) 2020-07-22 16:15:31 -07:00
Philip Rideout
71f256585d Update cgltf (includes transmission ext). 2020-07-20 12:04:51 -07:00
Pixelflinger
5c71b0eae2 update glslang to latest
This fixes a lot of issues regarding precision qualifiers.

This should resolve cases where "highp" were introduced needlessly.
2020-07-14 23:24:50 -07:00
Pixelflinger
e58043f156 update spire-cross to latest
This fixes an issue where "expensive" operations can be moved to
inside loops.
2020-07-14 23:24:31 -07:00
Ben Doherty
7cfc2c9f24 Set Filament iOS support to iOS 11 (#2809) 2020-07-13 18:04:47 -07:00
Romain Guy
f7f86a7c56 Remove skygen
This will be replaced by a runtime implementation. skygen was
never finished to begin with.
2020-06-26 17:25:08 -07:00
Ben Doherty
1762baab61 Remove unused SPIRV-Tools-shared library (#2719) 2020-06-22 14:30:43 -07:00
Ben Doherty
1fc57b8bf0 Add bitcode to iOS builds (#2708) 2020-06-18 14:00:05 -07:00
Ben Doherty
d70e317065 Use local iOS toolchain instead of downloading (#2705) 2020-06-18 12:16:40 -07:00
Ben Doherty
9cd2f2edc1 Check in pristine copy of Clang iOS toolchain (#2703) 2020-06-18 10:19:31 -07:00
Philip Rideout
ebd195f8e4 matdbg: Add support for Android.
See the matdbg README for details.
2020-06-14 22:42:55 -07:00
Philip Rideout
963a8958ec Fix Ubuntu build. 2020-06-12 13:47:54 -07:00
Romain Guy
a019de3363 Add (improved) color grading UI to gltf-viewer (#2676) 2020-06-12 08:30:43 -07:00
Ben Doherty
e56882d20f Update tinyexr to 944c740 (#2644) 2020-06-05 12:22:28 -07:00
Philip Rideout
0abe262094 Patch hat-trie to remove exceptions. 2020-06-02 10:17:12 -07:00
Philip Rideout
bd72f1fd6a Add hat-trie to third_party. 2020-06-02 10:17:12 -07:00
neshume
6df1265bef Fix compilation issues under ubuntu 20 and latest clang (#2562)
Co-authored-by: neshume <alex.andel@gmail.com>
2020-05-23 17:08:19 -07:00
Mathias Agopian
d08a4e8bd9 Very basic SwiftShader support (#2523)
* Very basic SwiftShader support

- we only provide SwiftShader's khornos headers in third_party

- swiftshader itself must be available on the host (for instance it
  can be compiled from source).

- to enable pass -DFILAMENT_USE_SWIFTSHADER=ON option to cmake

- only GLES 3.0 is supported. Vulkan is not yet supported.

CMake should find the swiftshader libraries automatically, but if
they're installed in a non-standard place, the environment variable
SWIFTSHADER_LD_LIBRARY_PATH can be set to that place.


We also use the GLES 3.0 headers everywhere, since we don't rely on 3.1
at this point.

* add a tnt folder with a README
2020-05-12 17:45:16 -07:00
Philip Rideout
a55b75a739 Remove monkey mesh dependency from samples.
The only apps that need this filamesh are suzanne and hellopbr. This
change allows us to modify + test Filament without re-invoking resgen.
2020-04-20 18:25:43 -07:00
Philip Rideout
f51a6aacc8 Update cgltf to fix memory leak. 2020-04-20 16:24:27 -07:00
Philip Rideout
26f6349487 Update MoltenVK, enable validation. 2020-04-17 17:53:40 -07:00
Romain Guy
85c563b628 Fix BusterDrone
Some parts where marked as transparent but they truly are opaque.
This was causing issues with SSAO.
2020-04-08 11:18:56 -07:00
Philip Rideout
44422b3d69 Remove gltf_baker and related libraries. 2020-04-02 09:06:29 -07:00
Philip Rideout
cdf03f91c9 Apply Draco compression to FlightHelmet. 2020-03-30 15:58:55 -07:00
Ben Doherty
f5e6ec42b3 Fix draco build with Xcode (#2306) 2020-03-30 15:06:53 -07:00
Philip Rideout
76f0309b58 Remove unused Draco targets from build. 2020-03-27 17:07:55 -07:00
Philip Rideout
d9e9fabec5 Disable unused Draco features. 2020-03-27 16:32:44 -07:00
Philip Rideout
a922e914b4 Enable Draco for Android. 2020-03-27 16:32:44 -07:00
Philip Rideout
4b7677fd13 Apply Draco compression to BusterDrone. 2020-03-27 16:32:44 -07:00
Philip Rideout
241f08bd74 Draco: do not add files to the build root. 2020-03-27 13:59:41 -07:00
Romain Guy
94a01c6010 Be compatible with CMake 3.10 again (#2296)
* Be compatible with CMake 3.10 again

* Windows fix

* Add CMake changes to patch file
2020-03-27 11:15:18 -07:00
Romain Guy
40aad197da Fixes various issues (#2292)
* Fixes various issues

- Fix gltf_baker crash
- Fix Python3 discovery on macOS
- Fix TBB CMake warning
- Fix bent normals baking

* Find Python 3 on Windows
2020-03-26 22:53:44 -07:00
Philip Rideout
0d32c58e41 gltfio: add support for Draco (desktop only)
This needs a bit more testing before merging, but I wanted to put up the
PR for review. I will look into supporting Android after we land this.

Fixes #1932.
2020-03-26 19:52:26 -07:00
Romain Guy
87ac282014 Export missing headers for NameComponentManager (#2276) 2020-03-24 16:32:48 -07:00
Philip Rideout
3ea8a25127 Add Draco 1.3.6 to third_party. 2020-03-24 10:13:13 -07:00
Ben Doherty
72a182122a Update spirv-cross to 871c85d (#2262) 2020-03-20 16:59:47 -07:00
Ben Doherty
acc36e8d9b Deprecating Clang on Windows in CMakeLists (#2243) 2020-03-13 12:33:02 -07:00
Ben Doherty
f80c584db0 Update glslang to dbb56a1 (#2232) 2020-03-11 12:34:08 -07:00
Ben Doherty
a2c6c34739 Update SPIRV-Tools to 2020.1 / SPIRV-Cross to 65aa0c3 (#2121) 2020-03-10 15:32:41 -07:00
Romain Guy
4ec5fac95c Add support for KHR_materials_clearcoat to gltfio (#2169) 2020-02-26 10:11:34 -08:00
Romain Guy
ed2fe83491 Update cgltf to latest (#2168) 2020-02-25 19:21:48 -08:00