https://bugs.freedesktop.org/show_bug.cgi?id=32273
Ian Romanick idr@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Keywords| |NEEDINFO Component|Drivers/Gallium/r300 |glsl-compiler AssignedTo|dri-devel@lists.freedesktop |idr@freedesktop.org |.org | CC| |chad@chad-versace.us, | |kenneth@whitecape.org
--- Comment #1 from Ian Romanick idr@freedesktop.org 2010-12-09 13:34:30 PST --- Is the shader source for this application available?
Something strange is happening here. The assertion that is hit occurs while the compiler is trying to constant-fold int-to-float operations. The type of the source should be int, but it's not.
Can you run this application in GDB and 'up' until GDB says it's in ir_expression::constant_expression_value. Then 'print op[0]->type->name' and 'print op[0]->type->base_type'.