Bug 27017

Summary: swrast not working correctly - point-wide trivial
Product: Mesa Reporter: Andrew Randrianasulu <randrik>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: two colors in four points are seen there
glxinfo -l
glxinfo -l

Description Andrew Randrianasulu 2010-03-11 06:29:50 UTC
Created attachment 33954 [details]
two colors  in four points are seen there

I have mesa up to commit a0ae2ca033ec2024da1e01d1c11c0437837c031b ( st/dri: move extension initilization to st/mesa completely )

Unfortunately, bug with some small, and not so small trivial demos are still here, it would be nice if someone fixed them, because working on hw drivers without reference (correct) rasterizer unnecessary harder.

First bug about progs/trivial/point-wide, i'll attach picture
Comment 1 Andrew Randrianasulu 2010-03-11 06:32:25 UTC
Created attachment 33955 [details]
glxinfo -l
Comment 2 Andrew Randrianasulu 2010-03-11 06:34:05 UTC
Created attachment 33956 [details]
glxinfo -l

Oops, wrong glxinfo
Comment 3 Andrew Randrianasulu 2010-03-11 06:37:35 UTC
as i can seen in point-wide code, there sould be FOUR different colors:

static void Draw(void)
{
   glClear(GL_COLOR_BUFFER_BIT);.
   glDisable(GL_DEPTH_TEST);

   glPointSize(8.0);

   glBegin(GL_POINTS);
   glColor3f(1,0,0);.
   glVertex3f( 0.9, -0.9, -30.0);
   glColor3f(1,1,0);.
   glVertex3f( 0.9,  0.9, -30.0);
   glColor3f(1,0,1);.
   glVertex3f(-0.9,  0.9, -30.0);
   glColor3f(0,1,1);.
   glVertex3f(-0.9,  -0.9, -30.0);
   glEnd();

   glFlush();

.....
Comment 4 Andrew Randrianasulu 2010-03-27 02:07:56 UTC
Fixed in current mesa, probably by commit 7996f0fc2c167c84552701be7a48d20a897e7978 ( dri/swrast: Fix frontbuffer rendering )

Tested on x86 machine, i'll fire up my SGI O2 soon and test swrast there also.

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.