[Bug 101766] Assertion `!"invalid type"' failed when constant expression involves literal of different type

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 12 15:00:08 UTC 2017


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

            Bug ID: 101766
           Summary: Assertion `!"invalid type"' failed when constant
                    expression involves literal of different type
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: david at drmaciver.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 132634
  --> https://bugs.freedesktop.org/attachment.cgi?id=132634&action=edit
Shader required to reproduce assertion

When the attached file is compiled with glsl_compiler, it triggers the
following assertion:

glsl_compiler: glsl/ir_expression_operation_constant.h:228: virtual
ir_constant* ir_expression::constant_expression_value(hash_table*): Assertion
`!"invalid type"' failed.
Aborted (core dumped)

The command I used to produce this was:

glsl_compiler invalid_type.frag.frag --version=300

I tested this with a version of Mesa that I built on git version
f7e78abdf45b26f3991dc336120162ae01b208f1 on Ubuntu 14.04, using LLVM 4.0.0, but
I originally encountered it on a different version (also on Ubuntu) using the
opengl API directly rather than glsl_compiler, so I expect the problem is not
specific to my build.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170712/20c3a887/attachment.html>


More information about the intel-3d-bugs mailing list