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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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 assignee for the bug._______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev