Summary: | [r300g] Coldest: Buffer too small for color buffer 0 (need 3407872 have 2023424) ! | ||
---|---|---|---|
Product: | Mesa | Reporter: | Sven Arvidsson <sa> |
Component: | Drivers/Gallium/r300 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://www.coldestgame.com/site/ | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sven Arvidsson
2010-08-23 11:54:59 UTC
Looks like Coldest also needs loop unrolling(?), if that's so it could explain the missing objects. r300 FP: Compiler Error: Fragment program does not support relative addressing of source operands. The compiler error is valid. Relative addressing (array indexing) is not implemented for fragment shaders. The hardware only suppports relative addressing using the loop counter and only on r500. The loop counter register type has been removed in Gallium so it cannot be implemented directly. Some non-trivial work is needed in the compiler. (In reply to comment #2) > The compiler error is valid. Relative addressing (array indexing) is not > implemented for fragment shaders. > > The hardware only suppports relative addressing using the loop counter and only > on r500. The loop counter register type has been removed in Gallium so it > cannot be implemented directly. Some non-trivial work is needed in the > compiler. May be it will be not too bad idea to restore this register type support in Gallium first? Anyone remember why it was removed? (In reply to comment #3) > May be it will be not too bad idea to restore this register type support in > Gallium first? Anyone remember why it was removed? I guess no one was using it, so I would not call it "support". Either way, we have to start from scratch. Tom Stellard might know how hard it would be to implement relative addressing in fragment shaders. The DRM errors are fixed by this kernel patch, which will hopefully end up in 2.6.36: http://lists.freedesktop.org/archives/dri-devel/2010-September/003830.html For loop unrolling issues, see other bugs, e.g. bug 30007. |
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.