ering
functions, it will be much less fun to code all those fixups in driver, so,
t_dd_tritmp.h calling .
From 1848ef2fc2b25a49e555c5f23694b9df590756b2 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Tue, 9 Mar 2010 06:24:16 +
Subject: [PATCH 1/4] nouveau/nv04: very primitive
This time it renders progs/demos/bounce and progs/samples/sphere correctly.
From 1848ef2fc2b25a49e555c5f23694b9df590756b2 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Tue, 9 Mar 2010 06:24:16 +
Subject: [PATCH 1/2] nouveau/nv04: very primitive line/point render
---
src/mesa
Francisco, thanks for your help. It draws lines! But code as-is of cource not
acceptable, i need to shrink it a lot and cleanup Thanks for initial
idea, i'm very bad C coder, but even me can sometimes code something!
diff --git a/src/mesa/drivers/dri/nouveau/nv04_render.c b/src/mesa/drivers/
> Stephane
New patch is here, tested with trivial/tri, DANGEROUS, may lock up your
machine hard with anything else!
Strange thing about code - in function swtnl_render_triangles_verts it was
going on and on, causing segfault, until i added
if (count == 3)
{
swtnl_triangle(c
git apply has automatic whitespace fixup mode ..
From 4123a117eb53ba466a174ed0fbf53d9917adcae5 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Sun, 7 Mar 2010 18:22:15 +
Subject: [PATCH] nouveau/nv04: GL_EXT_secondary_color
(v2) applied with whitespace fixes. Still on top of
Requres updated libdrm header (nouveau_class.h)
Tested with progs/demos/spectex and progs/tests/seccol
From 2b709f31c8ba35b1a40279203493baa8fa584e3f Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Sun, 7 Mar 2010 01:09:21 +
Subject: [PATCH] nouveau/nv04: GL_EXT_secondary_color
В сообщении от Friday 05 March 2010 16:55:20 Jesse Barnes написал(а):
> make realclean and configure and make again.
Removing all new functions and reverting to mainstream mesa works OK, even
without realclean ... So, it is purely my fault, as coder. But what exactly I
forgot? Init current_prim
RETTY_FUNCTION__ = "processWindowWorkList"
#13 0xb771b519 in glutMainLoop () at glut_event.c:1358
No locals.
#14 0x0804ae39 in main (argc=1, argv=0xbf9e0f54) at engine.c:1340
No locals.
From 50c585a409efdce367aabffa6192bd98d4e9da28 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Thu, 4 M
still not working/not plugged in..
What i need to do about lack of
->new_state and ->current_primitive in ctx ?
From 50c585a409efdce367aabffa6192bd98d4e9da28 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Thu, 4 Mar 2010 17:54:20 +
Subject: [PATCH 1/5] Add WAR_ONCE
(with gcc 4.4.3). Guess i need to include it
somewhat differently?
../../../../../src/mesa/tnl_dd/t_dd_tritmp.h:766: error: 'TAG' defined as
function, returning function
From c5f7559adfbc4b6e34cba7ee6d1199a8709e5981 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Thu, 4 Mar
Hello all!
I recently plugged in old TNT2 (nv05) card and started to playing with it.
This hardware can do quads and triangles, but not lines or points So, i
need to emulate them.
utah-glx has some code exactly for this generation of hardware:
http://utah-glx.cvs.sourceforge.net/viewvc/u
Allow some texwrap testing. But just hack around for now .
From 4f381482488cb522c8ed039168b8a4e2a0fd01f8 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Tue, 2 Mar 2010 16:26:42 +
Subject: [PATCH] nouveau/nv04: temporary hack for texwrap demo, texture borders not implemented (no
Tested with progs/demos/spectex and progs/tests/seccol
From 25644f5a5cac44b77496a8b65eb13cef6f97d20e Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Tue, 2 Mar 2010 16:16:38 +
Subject: [PATCH] nouveau/nv04: GL_EXT_secondary_color
---
src/mesa/drivers/dri/nouveau/nouveau_context.c
Not tested, but pervious version was from my erroneous testing, clearly wrong
value and offset.
From 21c0dc897d90d9e40d970adb20f7aaece5ee5a4b Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Tue, 2 Mar 2010 16:39:31 +
Subject: [PATCH] Oh, hopefully fix multitextured + seconday color
r.c
> > +++ b/src/mesa/drivers/dri/nouveau/nv04_state_raster.c
> > @@ -61,6 +61,10 @@ get_stencil_op(unsigned op)
> > switch (op) {
> > case GL_KEEP:
> > return 0x1;
> > + case GL_ZERO:
> > + return 0x2;
> &g
From fa7842908e2109b5c976e0d7082f67dfe2437dc2 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu
Date: Tue, 2 Mar 2010 03:29:51 +
Subject: [PATCH] nouveau: Trivially add GL_ARB_texture_mirrored_repeat. Texwrap demo not working fully yet
---
src/mesa/drivers/dri/nouveau/nouveau_context.c
ed op)
> > switch (op) {
> > case GL_KEEP:
> > return 0x1;
> > + case GL_ZERO:
> > + return 0x2;
> > + case GL_REPLACE:
> > + return 0x3;
> > case GL_INCR:
> &g
_op(unsigned op)
switch (op) {
case GL_KEEP:
return 0x1;
+ case GL_ZERO:
+ return 0x2;
+ case GL_REPLACE:
+ return 0x3;
case GL_INCR:
return 0x4;
case GL_DECR:
-
Tested-off-by: Andrew Randrianas
18 matches
Mail list logo