<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [r600g, bisected] regression: NI/Turks crash on WebGL Water (most WebGL stuff)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90207#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [r600g, bisected] regression: NI/Turks crash on WebGL Water (most WebGL stuff)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90207">bug 90207</a>
              from <span class="vcard"><a class="email" href="mailto:Dieter@nuetzel-hh.de" title="Dieter Nützel <Dieter@nuetzel-hh.de>"> <span class="fn">Dieter Nützel</span></a>
</span></b>
        <pre>(In reply to Aaron Watry from <a href="show_bug.cgi?id=90207#c14">comment #14</a>)
<span class="quote">> (In reply to José Fonseca from <a href="show_bug.cgi?id=90207#c13">comment #13</a>)
> > I think I figured out the problem.
> > 
> > As commented on DECL_RESOURCE_FUNC macro, the RESOURCE_VAR inline function
> > is not type safe, and stuff that's not a ir_variable is wrongly being casted
> > into it. 
> > 
> > This patch seems to do the trick, but I'm not 100% sure.
> > 

> That patch fixes the crash in Konqueror for me.

> Whether or not it's correct, that's up to people who know the code better
> than myself.</span >

For me, too.
git-6fe0d4f + José's patch

Thanks José!

Your WebGL implementation:

Renderer: WebKit WebGL
Vendor: WebKit
WebGL version: WebGL 1.0 (3.0 Mesa 10.6.0-devel (git-6fe0d4f))
GLSL version: WebGL GLSL ES 1.0 (1.30)
Supported WebGL extensions:

OES_texture_float                           <-- Were is this defined? ;-)
OES_standard_derivatives
WEBKIT_EXT_texture_filter_anisotropic
OES_vertex_array_object
OES_element_index_uint
WEBKIT_WEBGL_lose_context
WEBKIT_WEBGL_compressed_texture_s3tc
WEBKIT_WEBGL_depth_texture</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>