From 32eee2cdf17aa6c6558ef18fae104684a918caed Mon Sep 17 00:00:00 2001 From: Ben Doherty Date: Mon, 9 Sep 2019 09:13:06 -0700 Subject: [PATCH] Tungsten: upgrade Gradle, fix IBL (#1604) --- .../src/com/google/android/filament/tungsten/ui/preview/Ibl.kt | 2 +- tools/tungsten/gradle/wrapper/gradle-wrapper.properties | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/tungsten/core/src/com/google/android/filament/tungsten/ui/preview/Ibl.kt b/tools/tungsten/core/src/com/google/android/filament/tungsten/ui/preview/Ibl.kt index 7c9e04c494..9bd8c8d41d 100644 --- a/tools/tungsten/core/src/com/google/android/filament/tungsten/ui/preview/Ibl.kt +++ b/tools/tungsten/core/src/com/google/android/filament/tungsten/ui/preview/Ibl.kt @@ -121,7 +121,7 @@ internal class Ibl(val engine: Engine, private val pathPrefix: String) { buffer.position(0) val bufferDescriptor = - Texture.PixelBufferDescriptor(buffer, Texture.Format.RGB, Texture.Type.UBYTE) + Texture.PixelBufferDescriptor(buffer, Texture.Format.RGB, Texture.Type.UINT_10F_11F_11F_REV) // If the texture hasn't been created yet, create it. val resultTexture = texture ?: Texture.Builder() diff --git a/tools/tungsten/gradle/wrapper/gradle-wrapper.properties b/tools/tungsten/gradle/wrapper/gradle-wrapper.properties index cd779a7f2e..ae45383b6d 100644 --- a/tools/tungsten/gradle/wrapper/gradle-wrapper.properties +++ b/tools/tungsten/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Wed May 16 19:09:57 PDT 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip