[Mesa-dev] [Bug 103955] Using array in structure results in wrong GLSL compilation output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 29 03:03:30 UTC 2017


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

Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #4 from Ian Romanick <idr at freedesktop.org> ---
(In reply to Ilia Mirkin from comment #3)

>    (expression vec3 * (record_ref (var_ref u_s) color)
>                       (array_ref (record_ref (var_ref u_s) arr) (constant int (0)))
>    )

This should be fine.  For a bunch of things we allow mixing scalars and either
vectors or matrices.  The shader_runner test passes on i965, so maybe the
problem is in st_glsl_to_tgsi?

(In reply to Younghun Jang from comment #0)
> I wanted to know if this bug is hardware related.

What hardware were you running on?  The output of 'glxinfo | grep "OpenGL
renderer string"' would help.

-- 
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/20171129/fdb90a0f/attachment.html>


More information about the mesa-dev mailing list