Summary: | [r300g, bisected] Unigine Sanctuary: fog is not rendered properly | ||
---|---|---|---|
Product: | Mesa | Reporter: | Pavel Ondračka <pavel.ondracka> |
Component: | Drivers/Gallium/r300 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | medium | Keywords: | regression |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
URL: | http://www.unigine.com/download/#sanctuary | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | screenshot of the problem |
Description
Pavel Ondračka
2011-04-30 13:11:33 UTC
Since "linker: Reject shaders that use too many varyings" most of the fog is not rendered at all and the rest is fine. Terminal output: GLShader::compile(): error: shader uses too many varying components (36 > 32) Material::create_shader(): can't compile "core/shaders/volumes/vertex_box_fog_ambient.shader" vertex shader defines: UNKNOWN,QUALITY_LOW,MULTISAMPLE_0,USE_INSTANCING,USE_DEFERRED,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,,NOISE,HEIGHT��� Material::create_shader(): can't compile "core/shaders/volumes/fragment_box_fog_ambient.shader" fragment shader defines: UNKNOWN,QUALITY_LOW,MULTISAMPLE_0,USE_INSTANCING,USE_DEFERRED,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,,NOISE,HEIGHT��� GLShader::compile(): error: shader uses too many varying components (36 > 32) Material::create_shader(): can't compile "core/shaders/volumes/vertex_sphere_fog_ambient.shader" vertex shader defines: UNKNOWN,QUALITY_LOW,MULTISAMPLE_0,USE_INSTANCING,USE_DEFERRED,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,,NOISE,HEIGHT��� Material::create_shader(): can't compile "core/shaders/volumes/fragment_sphere_fog_ambient.shader" fragment shader defines: UNKNOWN,QUALITY_LOW,MULTISAMPLE_0,USE_INSTANCING,USE_DEFERRED,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,,NOISE,HEIGHT��� So the original bug is gone and the new one is a different problem. Is this too many varying message a WONTFIX? The problem still exists with current mesa-git ? (In reply to comment #2) > The problem still exists with current mesa-git ? Yeah, the broken fog is still there. This is not a compiler issue. The fog isn't rendered properly, because there are not enough varyings. I have a patch that reuses unused color varyings for texcoords. It fixes the fog, but it also breaks a lot of other things. Fixed with 85efb2fff0d4de56c31e414fd05a37d212211da1. Closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.