Skip to content

Commit ce71136

Browse files
committed
Merge branch 'rc/1.65.0' into release
2 parents 426c2e0 + 15c54e8 commit ce71136

File tree

106 files changed

+2355
-10328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+2355
-10328
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'Get and cache glTF Assets'
2+
description: 'Downloads and caches glTF assets by calling the get-gltf-sample-assets.sh script.'
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- uses: ./.github/actions/dep-versions
8+
- name: Hash models file
9+
id: hash-models
10+
shell: bash
11+
run: echo "hash=$(cat test/renderdiff/tests/gltf_models.txt | md5sum | sed 's/ -//g')" >> $GITHUB_OUTPUT
12+
- name: Cache glTF assets
13+
id: cache-gltf
14+
uses: actions/cache@v4
15+
with:
16+
path: gltf
17+
key: gltf-assets-${{ env.GITHUB_GLTF_SAMPLE_ASSETS_COMMIT }}-${{ steps.hash-models.outputs.hash }}
18+
- name: Download assets via script if cache not found
19+
if: steps.cache-gltf.outputs.cache-hit != 'true'
20+
shell: bash
21+
run: |
22+
echo "Cache miss for commit ${{ env.GITHUB_GLTF_SAMPLE_ASSETS_COMMIT }}. Running download script..."
23+
xargs bash build/common/get-gltf-sample-assets.sh < test/renderdiff/tests/gltf_models.txt

.github/actions/get-mesa/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
name: 'Get Mesa'
2-
description: 'Caches and installs Mesa'
1+
name: 'Get and cache Mesa'
2+
description: 'Get and cache Mesa'
3+
34
runs:
45
using: "composite"
56
steps:

.github/actions/mac-prereq/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ runs:
1919
- name: Install Mac Prerequisites
2020
shell: bash
2121
run: |
22+
# Install brew prereqs
23+
brew install coreutils
2224
# Install ninja
2325
source ./build/common/get-ninja.sh

.github/workflows/presubmit.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,12 @@ jobs:
118118
- uses: actions/[email protected]
119119
with:
120120
fetch-depth: 0
121-
- id: get_commit_msg
122-
uses: ./.github/actions/get-commit-msg
123121
- uses: ./.github/actions/mac-prereq
122+
- uses: ./.github/actions/get-gltf-assets
124123
- uses: ./.github/actions/get-mesa
125-
- uses: ./.github/actions/get-vulkan-sdk
124+
- uses: ./.github/actions/get-vulkan-sdk
125+
- id: get_commit_msg
126+
uses: ./.github/actions/get-commit-msg
126127
- name: Prerequisites
127128
run: |
128129
pip install tifffile numpy
@@ -132,6 +133,7 @@ jobs:
132133
- name: Render and compare
133134
id: render_compare
134135
run: |
136+
ls ./gltf/Models
135137
TEST_DIR=test/renderdiff
136138
source ${TEST_DIR}/src/preamble.sh
137139
start_

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ endif()
633633
# With WebGPU, Tint does not support ClipDistance which is used in Stereo. Mentioned in comment
634634
# https://github.com/google/dawn/blob/855d17b08abdf02f9142bf5a8f14d0ea088810a4/src/tint/lang/spirv/reader/ast_parser/function.cc#L4434
635635
if (FILAMENT_SUPPORTS_WEBGPU)
636-
set(MATC_API_FLAGS ${MATC_API_FLAGS} -a webgpu --variant-filter=skinning,stereo)
636+
set(MATC_API_FLAGS ${MATC_API_FLAGS} -a webgpu --variant-filter=stereo)
637637
endif()
638638

639639
# Disable ESSL 1.0 code generation.

NEW_RELEASE_NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ We are chaning the way Vulkan buffers are handled. We need to switch over to a m
77
appropriate header in [RELEASE_NOTES.md](./RELEASE_NOTES.md).
88

99
## Release notes for next branch cut
10+
11+
- materials: added `getEyeFromViewMatrix()` for vertex shader [⚠️ **Recompile Materials**]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repositories {
3131
}
3232
3333
dependencies {
34-
implementation 'com.google.android.filament:filament-android:1.64.1'
34+
implementation 'com.google.android.filament:filament-android:1.65.0'
3535
}
3636
```
3737

@@ -51,7 +51,7 @@ Here are all the libraries available in the group `com.google.android.filament`:
5151
iOS projects can use CocoaPods to install the latest release:
5252

5353
```shell
54-
pod 'Filament', '~> 1.64.1'
54+
pod 'Filament', '~> 1.65.0'
5555
```
5656

5757
## Documentation

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ A new header is inserted each time a *tag* is created.
77
Instead, if you are authoring a PR for the main branch, add your release note to
88
[NEW_RELEASE_NOTES.md](./NEW_RELEASE_NOTES.md).
99

10+
## v1.65.0
11+
12+
lighting: the intermediate froxel record buffer is now dynamically sized [⚠️ **New Material Version**]
13+
1014
## v1.64.1
1115

1216
- Update CMake minimum version to 3.22.1

android/buildSrc/src/main/groovy/FilamentPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ abstract class MaterialCompiler extends TaskWithBinary {
146146
.gradleProperty("com.google.android.filament.include-webgpu")
147147
.forUseAtConfigurationTime().present
148148
if (include_webgpu) {
149-
matcArgs += ['-a', 'webgpu', '--variant-filter=skinning,stereo']
149+
matcArgs += ['-a', 'webgpu', '--variant-filter=stereo']
150150
}
151151

152152
def mat_no_opt = providers

android/filament-android/src/main/java/com/google/android/filament/View.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1949,6 +1949,18 @@ public enum AmbientOcclusionType {
19491949
* Ground Truth-base Ambient Occlusion (GTAO) options
19501950
*/
19511951
public float gtaoThicknessHeuristic = 0.004f;
1952+
/**
1953+
* Ground Truth-base Ambient Occlusion (GTAO) options
1954+
*/
1955+
public boolean gtaoUseVisibilityBitmasks = false;
1956+
/**
1957+
* Ground Truth-base Ambient Occlusion (GTAO) options
1958+
*/
1959+
public float gtaoConstThickness = 0.5f;
1960+
/**
1961+
* Ground Truth-base Ambient Occlusion (GTAO) options
1962+
*/
1963+
public boolean gtaoLinearThickness = false;
19521964

19531965
}
19541966

0 commit comments

Comments
 (0)