google / google/filament

refraction crashes on Adreno 710 GPU

Open
#9,468 15 comments 1 reaction 2 assignees Claimed by @show50726 View on GitHub
android gpu specific
Dominant language
C++
Stars
20.5k
Forks
2.3k
Avg merge
2d 14h
Merged PRs (30d)
83

Description

**Describe the bug**
In Android, when using a material with refractionMode on screenspace configured with both IOR and transmission, the app crashes when rendering on multiple phones with Adreno 710 GPU.
Version : 1.67.1

**To Reproduce**
1. Go on sample-image-based-lighting
2. Replace clear_coat.mat content with the following :
```
material {
name : clear_coat,
shadingModel : lit,
refractionMode: screenspace,
refractionType: solid,
reflections: default,
parameters : [
{
type : float3,
name : baseColor
}
],
}

fragment {
void material(inout MaterialInputs material) {
prepareMaterial(material);

//material.baseColor.rgb = materialParams.baseColor;
material.baseColor = float4(1.0, 1.0, 1.0, 1.0);

// To create a metallic paint-like material we want
// a rough base metallic layer and a glossy clear coat
material.roughness = 0.2;
material.metallic = 0.0;
material.clearCoat = 1.0;
material.ior = 1.15;
material.transmission = 0.5;
}
}
```
3. STart the application on an Android device running an Adreno 710 GPU.
4. Observe the application crash

**Expected behavior**
No crash

**Logs**
[sample-image-based-lighting-release-unsigned.apk_2025_12_2_14_37_11.log](https://github.com/user-attachments/files/23882089/sample-image-based-lighting-release-unsigned.apk_2025_12_2_14_37_11.log)

**Smartphone (please complete the following information):**
- Device: Any device with 710 GPU, like a Xiaomi Redmi Note 13 Pro 5G
- OS: At least Android 14, 15 and 16

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.