New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 656668 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocked on:
issue 656889



Sign in to add a comment

WEBGL2 Floating point texture are clamped to [0, 1]

Project Member Reported by fkp@google.com, Oct 17 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36

Steps to reproduce the problem:
1. open https://colab.corp.google.com/v2/notebook#fileId=0B_hM3HWqccCddElvRTFnQUdVdEE using the 
2. run the cell
3. the tile is colourful on mac but almost black on desktop

What is the expected behavior?
colorful on desktop too

What went wrong?
I believe the float texture were clamped to [0,1] on desktop

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 54.0.2840.59  Channel: stable
OS Version: Goobuntu 2.4.44
Flash Version: Shockwave Flash 23.0 r0
 

Comment 1 by zmo@chromium.org, Oct 17 2016

Cc: kbr@chromium.org zmo@chromium.org kainino@chromium.org
Cc: rbasuvula@chromium.org
Labels: Needs-Feedback
We are unable to open the provided URL:(https://colab.corp.google.com/v2/notebook#fileId=0B_hM3HWqccCddElvRTFnQUdVdEE ).It is displaying Error Code 4.
So could you please give the access, This will help us to triage the issue further.

Thank you!

Comment 3 by fkp@google.com, Oct 18 2016

Sorry, the link can only be open from within Google only, I should have made this clearer in the bug description. I filed it for book keeping purpose for the benefit of the Google webgl2 people.
Project Member

Comment 4 by sheriffbot@chromium.org, Oct 18 2016

Labels: Hotlist-Google

Comment 5 by zmo@chromium.org, Oct 18 2016

Blockedon: 656889
Status: Available (was: Unconfirmed)
It looks to me you are creating a texture using (internalformat=RGBA, format=RGBA, type=FLOAT).  This is illegal in WebGL2.  Unfortunately there is a bug in Chrome's current implementation that we accidentally pass it down to the driver instead of generating a GL error. See  crbug.com/656889 .

Please use (internalformat=RGBA32F, format=RGBA, type=FLOAT) and see if it fixes the problem for you. (I haven't figured out how to find where the source code is and how to edit it in your labcode)

Comment 6 by fkp@google.com, Oct 19 2016

Yes, that was it, thanks!

Comment 7 by zmo@chromium.org, Oct 19 2016

Cc: -zmo@chromium.org
Owner: zmo@chromium.org
Status: Fixed (was: Available)

Sign in to add a comment