Issue 156224 in chromium: WebGL: error X5608: Compiled shader code uses too many arithmetic instruction slots

52 views
Skip to first unread message

chro...@googlecode.com

unread,
Oct 16, 2012, 7:17:49 PM10/16/12
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Pri-2 Via-Wizard Type-Bug OS-Windows

New issue 156224 by pya...@gmail.com: WebGL: error X5608: Compiled shader
code uses too many arithmetic instruction slots
http://code.google.com/p/chromium/issues/detail?id=156224

UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.4 (KHTML, like
Gecko) Chrome/22.0.1229.94 Safari/537.4

Steps to reproduce the problem:
1. Visit http://codeflow.org/webgl/deferred-irradiance-volumes/www/

What is the expected behavior?
It works

What went wrong?
A shader failed to compile with the following error message:

(115,16): warning X3206: implicit truncation of vector type
(116,20): warning X3206: implicit truncation of vector type
(120,15): error X5608: Compiled shader code uses too many arithmetic
instruction slots (67). Max. allowed by the target (ps_2_0) is 64.

The shader in question is:
-
https://github.com/pyalot/webgl-deferred-irradiance-volumes/blob/master/src/illumination/debug.shader
- Includes this function:
https://github.com/pyalot/webgl-deferred-irradiance-volumes/blob/master/src/harmonics.shaderlib

Did this work before? N/A

Chrome version: 22.0.1229.94 Channel: stable
OS Version: XP Prof. service pack 3

chro...@googlecode.com

unread,
Oct 16, 2012, 7:18:49 PM10/16/12
to chromi...@chromium.org

Comment #1 on issue 156224 by pya...@gmail.com: WebGL: error X5608:
Compiled shader code uses too many arithmetic instruction slots
http://code.google.com/p/chromium/issues/detail?id=156224

Reported graphics card was: ATI Radeon 9600 (driver version 8.593.100.0)

chro...@googlecode.com

unread,
Dec 24, 2012, 8:51:20 AM12/24/12
to chromi...@chromium.org
Updates:
Cc: pbom...@chromium.org

Comment #2 on issue 156224 by msrchan...@chromium.org: WebGL: error X5608:
Compiled shader code uses too many arithmetic instruction slots
http://code.google.com/p/chromium/issues/detail?id=156224

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Dec 24, 2012, 8:54:50 AM12/24/12
to chromi...@chromium.org
Updates:
Cc: msrchan...@chromium.org

Comment #3 on issue 156224 by msrchan...@chromium.org: WebGL: error X5608:
Compiled shader code uses too many arithmetic instruction slots
http://code.google.com/p/chromium/issues/detail?id=156224

Hello Prudhvi,

Please test this issue on Win XP.

My observation on Win7: Able to open the link in Latest stable.
Not able to open the link in latest Canary. Please re-check and confirm.

Thank you.

chro...@googlecode.com

unread,
Jan 16, 2013, 9:27:02 PM1/16/13
to chromi...@chromium.org
Updates:
Cc: k...@chromium.org z...@chromium.org apatr...@chromium.org
baj...@chromium.org
Labels: Feature-GPU-WebGL Area-Internals

Comment #4 on issue 156224 by k...@chromium.org: WebGL: error X5608:
Compiled shader code uses too many arithmetic instruction slots
http://code.google.com/p/chromium/issues/detail?id=156224

Reply all
Reply to author
Forward
0 new messages