lion0406 / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Errors in Fragment Shader (undeclared Lod0 function) #374

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to http://frog.ivank.net
2. You will see the "alerted" error message (when linking program)

What is the expected output? What do you see instead?

Everything worked in Chrome <=21, still works in other browsers (e.g. in 
Firefox), does not work in Chrome 22. 

In Chrome 22, "getProgramInfoLog" gives me this: 
(112,8): error X3004: undeclared identifier '_lightAtLod0'
* lightAt is a function in my fragment shader

What version of the product are you using? On what operating system?

Data exported   Sat Oct 06 2012 19:53:00 GMT+0200 (Central Europe Daylight Time)
Chrome version  22.0.1229.79 (Oficiální sestavení 158531) m
Operating system    Windows NT 6.1 SP1
Software rendering list version 2.8
ANGLE revision  1245
2D graphics backend Skia

Initialization time 102
GPU0    VENDOR = 0x10de, DEVICE= 0x06e9
Optimus false
AMD switchable  false
Driver vendor   NVIDIA
Driver version  8.17.12.9610
Driver date 2-29-2012
Pixel shader version    3.0
Vertex shader version   3.0

Original issue reported on code.google.com by ivan.kuc...@gmail.com on 6 Oct 2012 at 5:56

GoogleCodeExporter commented 9 years ago
This seems like a regression from the changes in r1122-r1124.  Nicolas: can you 
look at this?

Original comment by dan...@transgaming.com on 9 Oct 2012 at 12:59

GoogleCodeExporter commented 9 years ago

Original comment by nicolas....@gmail.com on 12 Oct 2012 at 1:55

GoogleCodeExporter commented 9 years ago
This is fixed in r1307. 

Original comment by dan...@transgaming.com on 17 Oct 2012 at 6:47