Bug 35193 - [i915 gles2] double glClear(COLOR|DEPTH) make rendering incorrect with DEPTH_TEST enabled without depthbuffer
Summary: [i915 gles2] double glClear(COLOR|DEPTH) make rendering incorrect with DEPTH_...
Status: RESOLVED DUPLICATE of bug 30080
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Kenneth Graunke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 19:37 UTC by Shuang He
Modified: 2011-07-13 10:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Shuang He 2011-03-10 19:37:26 UTC
System Environment:
--------------------------
Libdrm:         (master)2.4.23-6-g550fe2ca3b29ad2191eab4fdfbed9ed21e25492d
Mesa:           (master)6ed0f2ac112d22278cf051c2cee9c2199a9025ea
Xserver:               
(master)xorg-server-1.9.99.901-197-gea1ffd3e60bdcedbec5a6f28929f8677bf45d450
Xf86_video_intel:              
(master)2.14.0-25-g9184af921bc2f332fcb6c9b47001414378eab8e2


Bug detailed description:
-------------------------
This bug happens on Pineview. 
With a EGL config that doesn't have depthbuffer, with DEPTH_TEST(GL_LESS) enabled, and execute glClear(COLOR|DEPTH) twice will make following rendering incorrect. If glClear() is executed only once or call glViewport between two glClear() will make rendering correct

We may provide a simple test case to reproduce a bit later
Comment 1 Eric Anholt 2011-07-13 10:09:44 UTC
Based on the fix for bug #30080, I think that issue would have affected the case you're talking about.  If it's not fixed after #30080 lands, please reopen with a testcase.

*** This bug has been marked as a duplicate of bug 30080 ***


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.