Patrice Mandin
360f7a3e23
nv30: Emit rasterizer state using state objects
2008-07-03 21:48:18 +02:00
Patrice Mandin
c0e9eb3b09
nv30: Emit blend state using state objects
2008-07-03 21:25:47 +02:00
Patrice Mandin
52cf7a6c1c
nv30: Emit blend color state using state objects
2008-07-03 21:11:07 +02:00
Patrice Mandin
36488ed052
nv30: Emit framebuffer state using state objects
2008-07-03 20:58:31 +02:00
Younes Manton
9833aec6cb
g3dvl: Use block and stride instead of cpp and pitch.
2008-06-30 19:26:22 -04:00
Younes Manton
1c893fd513
g3dvl: Simplify shader code.
2008-06-30 10:11:02 -04:00
Younes Manton
3933fec6bd
g3dvl: Support for field and frame based MC for progressive pictures.
...
MC support for frame and field based motion prediction. Also various bug
fixes, clean up.
2008-06-30 10:11:02 -04:00
Younes Manton
0a6aec8c0f
g3dvl: Work around SP tex cache bug, specify resource usage flags.
2008-06-30 10:11:02 -04:00
Younes Manton
14d4f9e44e
g3dvl: Get rid of some Valgrind errors.
...
Get rid of some Valgrind memory leak and uninitialized var errors.
2008-06-30 10:11:02 -04:00
Ben Skeggs
c6ddcc10e3
nouveau: oops, bump the drm patchlevel back down again
2008-06-29 16:02:01 +10:00
Ben Skeggs
bf94027fdd
nv50: fixes after rebase + commits note on the code that was just pushed.
...
OK, seems a lot of people have been getting the idea that nouveau is
dying lately - I decided to commit some of the work I've been doing lately
to prove them wrong :) Progress on my side is slow due to lack of time
mainly, but I'm still around.
Firstly, don't even bother trying to use gallium on G8x/G9x yet, it won't
work. I've deliberately left all the necessary winsys changes out of the
commits for a very good reason - I don't know what we're going to need from
the DRM exactly yet and don't want to be continually breaking interfaces
as I discover additional requirements. On my side, I think I've gone
through about 3 different DRM interface changes, and have just discovered
that I may need more yet. It'd be very annoying for everyone who uses
nouveau to keep things in sync. Once I've got it sorted - I'll commit a
lot of cool stuff. Stay tuned.
Also, don't look at the shader code.. it's horribly nasty and full of hacks,
I used it as an opportunity to learn G8x GPU programs at the same time.
New semi-decent code is in works, and will follow at some point. :)
2008-06-29 16:00:42 +10:00
Ben Skeggs
70f0f0ebdf
nv50: reverse stencil sides, header is wrong
2008-06-29 15:46:53 +10:00
Ben Skeggs
e52d37d56c
nv50: fix line stipple
2008-06-29 15:46:53 +10:00
Ben Skeggs
fea9eb2842
nv50: don't multiply polygon offset units by 2.0 like on nv40
2008-06-29 15:46:53 +10:00
Ben Skeggs
e05f67cbe6
nv50: maybe some scissor fixes..
2008-06-29 15:46:53 +10:00
Ben Skeggs
95d64ceb5a
nv50: vpt translate/scale backwards
2008-06-29 15:46:53 +10:00
Ben Skeggs
e002ad7739
nv50: whoops
2008-06-29 15:46:52 +10:00
Ben Skeggs
2c2cb86461
nv50: rework miptree/texture/texsurf code a bit
2008-06-29 15:46:52 +10:00
Ben Skeggs
5a3362521d
nv50: turn on depth test/write again, not 100% but winsys handles it better
2008-06-29 15:46:20 +10:00
Ben Skeggs
47771bcd2f
nv50: maintain pipe surface status field
2008-06-29 15:46:19 +10:00
Ben Skeggs
e901302575
nv50: remove some debug
2008-06-29 15:46:19 +10:00
Ben Skeggs
5a3ea9ee59
nv50: simplify emit_interp a bit
2008-06-29 15:46:19 +10:00
Ben Skeggs
714cb4a86c
nv50: make sure static buffers (constbuf, tex control etc) get on reloc list
2008-06-29 15:46:19 +10:00
Ben Skeggs
3b88c3f411
nv50: R32_FLOAT vbo format
2008-06-29 15:46:19 +10:00
Ben Skeggs
65ad8176ca
nv50: move surface_map/unmap into nv50_surface.c
2008-06-29 15:46:19 +10:00
Ben Skeggs
fd7412a7f1
nv50: some people are just born stupid.. really..
2008-06-29 15:46:19 +10:00
Ben Skeggs
598b2a5105
nv50: make TEX a halfie
2008-06-29 15:46:19 +10:00
Ben Skeggs
035a04d9c1
nv50: get tri-scissor-tri working
2008-06-29 15:46:19 +10:00
Ben Skeggs
bb9efb5534
nv50: separate state validation and upload, similar to nv40
2008-06-29 15:46:19 +10:00
Ben Skeggs
94999d39d4
nv50: fix blend colour
2008-06-29 15:46:19 +10:00
Ben Skeggs
5d30701492
nv50: use stateobjs for sampler/image_control uploads
2008-06-29 15:46:18 +10:00
Ben Skeggs
431504b99c
nv50: hack of a TEX opcode
2008-06-29 15:46:18 +10:00
Ben Skeggs
bcbe6baac3
nv50: hacks for stuff I don't really get yet
2008-06-29 15:46:18 +10:00
Ben Skeggs
cae38d0fcc
nv50: abuse constbuf upload for program upload
2008-06-29 15:46:18 +10:00
Ben Skeggs
fea0b16516
nv50: a couple more bits'n'pieces
2008-06-29 15:46:18 +10:00
Ben Skeggs
da66b8a2f4
nv50: disable inline IMMD for now, IMMD+pred == BANG!
...
fixes progs/fp/lit.txt
2008-06-29 15:46:18 +10:00
Ben Skeggs
fa5cd63f96
nv50: simplify interp crap a bit...
...
hopefully there wasn't a good reason I went the route I did.. can't recall..
2008-06-29 15:46:18 +10:00
Ben Skeggs
c0ed6a871c
nv50: do tsc/tic upload + stub out shader TEX stuff
2008-06-29 15:46:18 +10:00
Ben Skeggs
0d7f25c890
nv50: disable ztest for now - it doesn't work still
2008-06-29 15:46:18 +10:00
Ben Skeggs
101305f37f
nv50: flag to indicate to winsys we want a surface for use as a zeta buffer
...
NVIDIA love to make life difficult.. we need different flags in PTEs for
zeta.. yay.. not.
2008-06-29 15:46:18 +10:00
Ben Skeggs
2fdeb4d5a5
nv50: comment on a so-far unseen bug
2008-06-29 15:46:18 +10:00
Ben Skeggs
4d520e0b76
nv50: another vbo format
2008-06-29 15:46:18 +10:00
Ben Skeggs
4bde3a72ab
nv50: fix blend cso
2008-06-29 15:46:18 +10:00
Ben Skeggs
619549a637
nv50: valgrind complaint
2008-06-29 15:46:17 +10:00
Ben Skeggs
027ed25c12
nv50: draw_elements() - inline only for the moment
2008-06-29 15:46:17 +10:00
Ben Skeggs
163d9aa1fe
nv50: support a couple more common VBO formats
2008-06-29 15:46:17 +10:00
Ben Skeggs
f700d6be63
nv50: remove some cruft, don't upload program unless really needed
2008-06-29 15:46:17 +10:00
Ben Skeggs
ab3d55e2e3
nv50: more efficient const upload + fixes (fp/* works now!)
2008-06-29 15:46:17 +10:00
Ben Skeggs
aea1669ff2
nv50: use constbuf segment 0 for everything - I can't make the others work..
2008-06-29 15:46:17 +10:00
Ben Skeggs
1c7489bd7e
nv50: allow relocating a shader's constants at upload time
2008-06-29 15:46:17 +10:00