Files
Powei Feng d7e0202f37 github: fix race condition for windows build (#9513)
A. Move filament_test_material.cpp to be part of test_filament
    (This won't be triggered during the windows build)
 B. Add chaining dependencies in third_party/draco/tnt so that
    there is no race in writing/reading generate.stamp

-------------
Failures
-------------
A.

C:\a\filament\filament\out\cmake-mtd\filament\test\resources\filament_test_resources.c(1,1): error C1083: Cannot open source file: 'C:\a\filament\filament\out\cmake-mtd\filament\test\resources\filament_test_resources.c': Permission denied [C:\a\filament\filament\out\cmake-mtd\filament\test\test_material_parser.vcxproj]

B.

CUSTOMBUILD : CMake error : Cannot restore timestamp "C:/a/filament/filament/out/cmake-mtd/third_party/draco/tnt/CMakeFiles/generate.stamp": Access is denied. [C:\a\filament\filament\out\cmake-mtd\third_party\draco\tnt\draco_compression_bit_coders.vcxproj]
2025-12-12 19:16:09 +00:00
..
2020-03-27 16:32:44 -07:00
2020-03-30 15:06:53 -07:00
2025-09-04 11:27:47 -07:00

To update the version of Draco used in this project, run the update_draco.sh script.

The script is located in third_party/draco/tnt.

From the root of the repository, you can run it like this:

Usage:

./third_party/draco/tnt/update_draco.sh <version_tag>

For example, to update to a specific release:

./third_party/draco/tnt/update_draco.sh 1.5.7

You can find the latest version number on the Draco releases page: https://github.com/google/draco/releases

Please be sure to test Filament before uploading your CL.

Filament-specific changes

The following directories are excluded from the upstream draco repository:

  • testdata
  • unity
  • maya