Bug 30166

Summary: [wine] Shader issues in rthdribl 1.2
Product: Mesa Reporter: Sven Arvidsson <sa>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: http://www.daionet.gr.jp/~masa/rthdribl/
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot comparing llvmpipe and r300g
RADEON_DEBUG=fp log

Description Sven Arvidsson 2010-09-13 10:36:05 UTC
Created attachment 38671 [details]
Screenshot comparing llvmpipe and r300g

The DirectX9 demo "rthdribl" isn't rendering correctly with r300g. 

This is partly a regression from the glsl2 merge, but probably not a problem in the GLSL compiler since llvmpipe seems to handle the demo. Rendering wasn't 100% prior to the glsl2 merge either.

The "glare" filter causes the screen to be drawn mostly white, so be sure to turn it off: 
Options → Glare → Glare Type → Disable

Version 1.2 of the demo can be downloaded here:
http://www.daionet.gr.jp/~masa/rthdribl/

You'll also need mfc42.dll:
http://www.dlldump.com/download-dll-files_new.php/dllfiles/M/mfc42.dll/6.0.400/download.html

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: e9928fe036e9382fd7bc353f3f05531445f08977
-- xserver: 1.8.99.904 (1.9.0 RC 5)
-- mesa: 6f839eb631511925505093be4d0509ac14f5675b
-- drm: 23287f05cf2443ddf9e028e29beb5bd30979c6cf
-- kernel: 2.6.35.4
Comment 1 Sven Arvidsson 2010-09-13 10:36:40 UTC
Created attachment 38672 [details]
RADEON_DEBUG=fp log
Comment 2 Marek Olšák 2010-11-13 12:57:43 UTC
Is this still an issue with current mesa git?
Comment 3 Sven Arvidsson 2010-11-15 06:04:20 UTC
(In reply to comment #2)
> Is this still an issue with current mesa git?

No change.
Comment 4 Tom Stellard 2010-11-21 21:53:53 UTC
Can you try this again with the latest git master?
Comment 5 Sven Arvidsson 2010-11-23 07:18:17 UTC
No change here.
Comment 6 Marek Olšák 2010-12-17 05:20:40 UTC
It seems to work very well without the Glare effect here.
Comment 7 Sven Arvidsson 2010-12-18 14:16:17 UTC
Yes, it looks like it's only the glare effect that's broken now. I guess I forgot to update the bug.

Unfortunately it looks like llvmpipe isn't rendering the demo correctly any longer. It was a good comparison otherwise.
Comment 8 Marek Olšák 2011-06-08 17:35:13 UTC
It works well with float textures and doesn't work without them, so I am closing this bug. It's kinda blocky though, but that's because R300 cannot filter float textures.

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.