[Mesa-dev] [Bug 102021] ir validation assert on valid GLSL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 3 07:25:22 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102021

--- Comment #2 from Dave Airlie <airlied at freedesktop.org> ---
START GLSL optimization optimize_split_arrays
(
(declare (location=0 shader_out ) vec4 gl_Position)
(declare (shader_in ) (array vec4 3) vertex)
(declare (shader_out ) vec4 temp)
(declare (temporary ) vec4 temp0_0)
(declare (temporary ) vec4 temp0_1)
( function main
  (signature void
    (parameters
    )
    (
      (assign  (xyzw) (var_ref temp0_0)  (array_ref (var_ref vertex) (constant
int (0)) ) ) 
      (assign  (x) (var_ref temp0_1)  (expression float rsq (swiz x (expression
vec4 abs (var_ref temp0_0) ) )) ) 
      (assign  (y) (var_ref temp0_1)  (expression float rsq (swiz y (expression
vec4 abs (var_ref temp0_0) ) )) ) 
      (assign  (xyzw) (var_ref gl_Position)  (array_ref (var_ref vertex)
(constant int (0)) ) ) 
      (assign  (xyzw) (var_ref temp)  (var_ref temp0_1) ) 
      (emit-vertex (constant int (0)) )

    ))

previous IR before bad opt.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170803/94b0c4d4/attachment-0001.html>


More information about the mesa-dev mailing list