https://bugs.freedesktop.org/show_bug.cgi?id=32273
Summary: assertion fails when starting vdrift 2010 release with shaders enabled Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aaalmosss@gmail.com
The console output is the following: radeon: Successfully grabbed chipset info from kernel! radeon: DRM version: 2.0.0 ID: 0x4152 GB: 1 Z: 1 radeon: GART size: 253 MB VRAM size: 128 MB radeon: HyperZ: NO INFO: Display change was successful: 1024x768x32 16z fullscreen=0 INFO: Video card information: Vendor: X.Org R300 Project Renderer: Gallium 0.4 on ATI RV350 Version: 2.1 Mesa 7.10-devel Maximum texture size: 2048 Maximum varying floats: 32 Using GLEW 1.5.4 INFO: Maximum color attachments: 8 INFO: Maximum draw buffers (1 required): 4 INFO: Texture units: 8 full, 16 partial INFO: Loaded shader package simple INFO: Loaded shader package simple, variant simple_premult INFO: Loaded shader package simple, variant simple_gamma_premult INFO: Loaded shader package simple, variant simple_gamma INFO: Loaded shader package simple, variant simplecar INFO: Loaded shader package logluminance INFO: Loaded shader package logluminance, variant logluminance_tiny INFO: Loaded shader package tonemap INFO: Loaded shader package gbufferfill INFO: Loaded shader package gbufferfill, variant gbufferfillcar vdrift: ir_constant_expression.cpp:134: virtual ir_constant* ir_expression::constant_expression_value(): Assertion `op[0]->type->base_type == GLSL_TYPE_INT' failed. SIGABRT detected, releasing the mouse Aborted
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'.
dri-devel@lists.freedesktop.org