OSDN Git Service

NV1X don't support VIEWPORT_ORIGIN in hardware
authorPatrice Mandin <pmandin@caramail.com>
Fri, 6 Jul 2007 21:55:51 +0000 (23:55 +0200)
committerPatrice Mandin <pmandin@caramail.com>
Fri, 6 Jul 2007 21:55:51 +0000 (23:55 +0200)
src/mesa/drivers/dri/nouveau/nv10_state.c

index 5f304cc..4db8296 100644 (file)
@@ -739,11 +739,11 @@ static GLboolean nv10BindBuffers(nouveauContextPtr nmesa, int num_color,
        OUT_RING_CACHE(depth ? depth->offset : color[0]->offset);
 
        /* Always set to bottom left of buffer */
-       BEGIN_RING_CACHE(NvSub3D, NV10_TCL_PRIMITIVE_3D_VIEWPORT_ORIGIN_X, 4);
+       /*BEGIN_RING_CACHE(NvSub3D, NV10_TCL_PRIMITIVE_3D_VIEWPORT_ORIGIN_X, 4);
        OUT_RING_CACHEf (0.0);
        OUT_RING_CACHEf ((GLfloat) h);
        OUT_RING_CACHEf (0.0);
-       OUT_RING_CACHEf (0.0);
+       OUT_RING_CACHEf (0.0);*/
 
        return GL_TRUE;
 }