Younes Manton [Mon, 30 Jun 2008 00:52:58 +0000 (20:52 -0400)]
g3dvl: Simplify shader code.
Younes Manton [Sun, 29 Jun 2008 00:16:01 +0000 (20:16 -0400)]
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.
Younes Manton [Thu, 19 Jun 2008 02:21:11 +0000 (22:21 -0400)]
g3dvl: Work around SP tex cache bug, specify resource usage flags.
Younes Manton [Tue, 17 Jun 2008 03:18:20 +0000 (23:18 -0400)]
g3dvl: Get rid of some Valgrind errors.
Get rid of some Valgrind memory leak and uninitialized var errors.
Ben Skeggs [Sun, 29 Jun 2008 06:02:01 +0000 (16:02 +1000)]
nouveau: oops, bump the drm patchlevel back down again
Ben Skeggs [Sun, 29 Jun 2008 05:59:24 +0000 (15:59 +1000)]
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. :)
Ben Skeggs [Tue, 24 Jun 2008 20:07:02 +0000 (06:07 +1000)]
nv50: reverse stencil sides, header is wrong
Ben Skeggs [Tue, 24 Jun 2008 20:01:30 +0000 (06:01 +1000)]
nv50: fix line stipple
Ben Skeggs [Tue, 24 Jun 2008 19:58:35 +0000 (05:58 +1000)]
nv50: don't multiply polygon offset units by 2.0 like on nv40
Ben Skeggs [Tue, 24 Jun 2008 19:17:08 +0000 (05:17 +1000)]
nv50: maybe some scissor fixes..
Ben Skeggs [Tue, 24 Jun 2008 19:11:46 +0000 (05:11 +1000)]
nv50: vpt translate/scale backwards
Ben Skeggs [Tue, 24 Jun 2008 18:57:27 +0000 (04:57 +1000)]
nv50: whoops
Ben Skeggs [Tue, 24 Jun 2008 18:53:34 +0000 (04:53 +1000)]
nv50: rework miptree/texture/texsurf code a bit
Ben Skeggs [Tue, 24 Jun 2008 17:56:57 +0000 (03:56 +1000)]
nv50: turn on depth test/write again, not 100% but winsys handles it better
Ben Skeggs [Mon, 23 Jun 2008 13:43:34 +0000 (23:43 +1000)]
nv50: maintain pipe surface status field
Ben Skeggs [Mon, 23 Jun 2008 13:42:53 +0000 (23:42 +1000)]
nv50: remove some debug
Ben Skeggs [Wed, 18 Jun 2008 03:23:00 +0000 (13:23 +1000)]
nv50: simplify emit_interp a bit
Ben Skeggs [Tue, 17 Jun 2008 13:55:23 +0000 (23:55 +1000)]
nv50: make sure static buffers (constbuf, tex control etc) get on reloc list
Ben Skeggs [Tue, 17 Jun 2008 13:52:41 +0000 (23:52 +1000)]
nv50: R32_FLOAT vbo format
Ben Skeggs [Tue, 17 Jun 2008 13:43:38 +0000 (23:43 +1000)]
nv50: move surface_map/unmap into nv50_surface.c
Ben Skeggs [Mon, 16 Jun 2008 15:51:13 +0000 (01:51 +1000)]
nv50: some people are just born stupid.. really..
Ben Skeggs [Mon, 16 Jun 2008 15:36:36 +0000 (01:36 +1000)]
nv50: make TEX a halfie
Ben Skeggs [Mon, 16 Jun 2008 12:34:50 +0000 (22:34 +1000)]
nv50: get tri-scissor-tri working
Ben Skeggs [Mon, 16 Jun 2008 12:24:16 +0000 (22:24 +1000)]
nv50: separate state validation and upload, similar to nv40
Ben Skeggs [Mon, 16 Jun 2008 12:06:54 +0000 (22:06 +1000)]
nv50: fix blend colour
Ben Skeggs [Mon, 16 Jun 2008 12:02:02 +0000 (22:02 +1000)]
nv50: use stateobjs for sampler/image_control uploads
Ben Skeggs [Mon, 16 Jun 2008 08:56:39 +0000 (18:56 +1000)]
nv50: hack of a TEX opcode
Ben Skeggs [Mon, 16 Jun 2008 08:03:29 +0000 (18:03 +1000)]
nv50: hacks for stuff I don't really get yet
Ben Skeggs [Mon, 16 Jun 2008 06:29:40 +0000 (16:29 +1000)]
nv50: abuse constbuf upload for program upload
Ben Skeggs [Mon, 16 Jun 2008 02:55:53 +0000 (12:55 +1000)]
nv50: a couple more bits'n'pieces
Ben Skeggs [Sun, 15 Jun 2008 05:53:22 +0000 (15:53 +1000)]
nv50: disable inline IMMD for now, IMMD+pred == BANG!
fixes progs/fp/lit.txt
Ben Skeggs [Sun, 15 Jun 2008 05:49:25 +0000 (15:49 +1000)]
nv50: simplify interp crap a bit...
hopefully there wasn't a good reason I went the route I did.. can't recall..
Ben Skeggs [Fri, 13 Jun 2008 02:09:46 +0000 (12:09 +1000)]
nv50: do tsc/tic upload + stub out shader TEX stuff
Ben Skeggs [Fri, 13 Jun 2008 01:50:13 +0000 (11:50 +1000)]
nv50: disable ztest for now - it doesn't work still
Ben Skeggs [Fri, 13 Jun 2008 00:58:27 +0000 (10:58 +1000)]
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.
Ben Skeggs [Thu, 12 Jun 2008 13:49:26 +0000 (23:49 +1000)]
nv50: comment on a so-far unseen bug
Ben Skeggs [Thu, 12 Jun 2008 04:47:17 +0000 (14:47 +1000)]
nv50: another vbo format
Ben Skeggs [Thu, 12 Jun 2008 04:40:20 +0000 (14:40 +1000)]
nv50: fix blend cso
Ben Skeggs [Thu, 12 Jun 2008 04:21:28 +0000 (14:21 +1000)]
nv50: valgrind complaint
Ben Skeggs [Thu, 12 Jun 2008 04:15:38 +0000 (14:15 +1000)]
nv50: draw_elements() - inline only for the moment
Ben Skeggs [Thu, 12 Jun 2008 03:59:51 +0000 (13:59 +1000)]
nv50: support a couple more common VBO formats
Ben Skeggs [Thu, 12 Jun 2008 03:50:56 +0000 (13:50 +1000)]
nv50: remove some cruft, don't upload program unless really needed
Ben Skeggs [Thu, 12 Jun 2008 03:11:41 +0000 (13:11 +1000)]
nv50: more efficient const upload + fixes (fp/* works now!)
Ben Skeggs [Thu, 12 Jun 2008 02:39:35 +0000 (12:39 +1000)]
nv50: use constbuf segment 0 for everything - I can't make the others work..
Ben Skeggs [Thu, 12 Jun 2008 02:26:43 +0000 (12:26 +1000)]
nv50: allow relocating a shader's constants at upload time
Ben Skeggs [Thu, 12 Jun 2008 02:16:43 +0000 (12:16 +1000)]
nv50: carry instructions around in nv50_program_exec, not a flat array
Ben Skeggs [Wed, 11 Jun 2008 05:28:41 +0000 (15:28 +1000)]
nv50: get vp working again, fp is broken regardless somehow..
g8x sucks :)
Ben Skeggs [Wed, 11 Jun 2008 04:59:19 +0000 (14:59 +1000)]
nv50: rename nv50_state.h to nv50_program.h
Ben Skeggs [Wed, 11 Jun 2008 03:24:32 +0000 (13:24 +1000)]
nv50: move magics take 2
Ben Skeggs [Wed, 11 Jun 2008 03:15:23 +0000 (13:15 +1000)]
Revert "nv50: move some magics"
This reverts commit
0a38de30429d3075fc6dfc9ff3729c5ca11f0c2f.
Ben Skeggs [Wed, 11 Jun 2008 03:00:20 +0000 (13:00 +1000)]
nv50: move some magics
Ben Skeggs [Mon, 9 Jun 2008 09:50:17 +0000 (19:50 +1000)]
nv50: various fixes + SCS
Ben Skeggs [Mon, 9 Jun 2008 08:01:03 +0000 (18:01 +1000)]
nv50: LRP
Ben Skeggs [Mon, 9 Jun 2008 07:36:22 +0000 (17:36 +1000)]
nv50: quick hack so progs/fp/fp-tri works for the moment
Ben Skeggs [Mon, 9 Jun 2008 06:41:08 +0000 (16:41 +1000)]
nv50: fix SGE/SLT when sources need swapping
Ben Skeggs [Mon, 9 Jun 2008 06:35:07 +0000 (16:35 +1000)]
nv50: support the other TGSI_UTIL_SIGN modes
Ben Skeggs [Mon, 9 Jun 2008 06:26:51 +0000 (16:26 +1000)]
nv50: note some things discovered during renouveau session
Ben Skeggs [Mon, 9 Jun 2008 03:31:42 +0000 (13:31 +1000)]
nv50: use emit_flop() instead of building RCP manually on interp
Ben Skeggs [Mon, 9 Jun 2008 03:09:55 +0000 (13:09 +1000)]
nv50: remove NV50_PROG_{VERTEX,FRAGMENT}
Ben Skeggs [Mon, 9 Jun 2008 03:07:38 +0000 (13:07 +1000)]
nv50: delayed write of fragprog result regs until end of program
Ben Skeggs [Sun, 8 Jun 2008 05:51:54 +0000 (15:51 +1000)]
nv50: fix src1 & src2 == const
Ben Skeggs [Sun, 8 Jun 2008 04:12:01 +0000 (14:12 +1000)]
nv50: note a critical bug
Ben Skeggs [Sun, 8 Jun 2008 02:27:36 +0000 (12:27 +1000)]
nv50: hehe, damage from tex-surfaces.. surface_fill() reenabled now :)
Ben Skeggs [Sun, 8 Jun 2008 01:23:06 +0000 (11:23 +1000)]
nv50: obey writemask in a couple of places
Ben Skeggs [Sat, 7 Jun 2008 09:54:04 +0000 (19:54 +1000)]
nv50: LIT - sort-of
*somehow* we have the exact same bug here as on nv4x, the difference being
on nv4x the hw actually has a LIT opcode.. NVIDIA doesn't have the bug on
either arch FWIW.
Ben Skeggs [Sat, 7 Jun 2008 07:42:00 +0000 (17:42 +1000)]
nv50: obey per-source abs (TGSI_UTIL_SIGN_CLEAR)
Ben Skeggs [Sat, 7 Jun 2008 07:36:10 +0000 (17:36 +1000)]
nv50: create emit_pow() - emit_lit() will need to use it
Ben Skeggs [Sat, 7 Jun 2008 06:51:07 +0000 (16:51 +1000)]
nv50: oops, copy+pasto
Ben Skeggs [Sat, 7 Jun 2008 06:08:36 +0000 (16:08 +1000)]
nv50: POW!
Ben Skeggs [Sat, 7 Jun 2008 06:01:06 +0000 (16:01 +1000)]
nv50: fixes + untested _SAT modifier
Ben Skeggs [Sat, 7 Jun 2008 05:21:05 +0000 (15:21 +1000)]
nv50: handle 0/1 SWZ
Ben Skeggs [Sat, 7 Jun 2008 04:10:48 +0000 (14:10 +1000)]
nv50: DST
Ben Skeggs [Sat, 7 Jun 2008 03:01:58 +0000 (13:01 +1000)]
nv50: ABS
Ben Skeggs [Sat, 7 Jun 2008 02:55:06 +0000 (12:55 +1000)]
nv50: FLR/FRC
Ben Skeggs [Sat, 7 Jun 2008 01:41:47 +0000 (11:41 +1000)]
nv50: SGE/SLT
Ben Skeggs [Fri, 6 Jun 2008 03:57:59 +0000 (13:57 +1000)]
nv50: small cleanup
Ben Skeggs [Thu, 5 Jun 2008 13:48:23 +0000 (23:48 +1000)]
nv50: DPH, XPD, some TODOs
Ben Skeggs [Thu, 5 Jun 2008 08:52:16 +0000 (18:52 +1000)]
nv50: fix EX2.. somehow
Ben Skeggs [Thu, 5 Jun 2008 08:39:00 +0000 (18:39 +1000)]
nv50: big fuckup, fix it
Ben Skeggs [Wed, 4 Jun 2008 11:45:32 +0000 (21:45 +1000)]
nv50: some fixes + MIN/MAX
Ben Skeggs [Wed, 4 Jun 2008 11:23:14 +0000 (21:23 +1000)]
nv50: checkpoint: shader code now exceeds caps of "old" code
Ben Skeggs [Tue, 3 Jun 2008 02:38:12 +0000 (12:38 +1000)]
nv50: remove hardcoded fp stuff
Ben Skeggs [Tue, 3 Jun 2008 02:37:29 +0000 (12:37 +1000)]
nv50: start using interpreter for fragprog too, not hardcoded passthrough
Ben Skeggs [Mon, 2 Jun 2008 13:52:58 +0000 (23:52 +1000)]
nv50: drop the majority of the old shader code, reimplement, only MOV so far.
Ben Skeggs [Mon, 2 Jun 2008 03:01:09 +0000 (13:01 +1000)]
nv50: split code/data upload out, fp will use it later on
Ben Skeggs [Mon, 2 Jun 2008 02:12:16 +0000 (12:12 +1000)]
nv50: DPH
Ben Skeggs [Mon, 2 Jun 2008 02:08:06 +0000 (12:08 +1000)]
nv50: implement SUB
Ben Skeggs [Sun, 1 Jun 2008 13:16:17 +0000 (23:16 +1000)]
nv50: fucking horrible hack, I really hate G8x shaders..
Ben Skeggs [Sun, 1 Jun 2008 13:10:31 +0000 (23:10 +1000)]
nv50: use "real" constbufs for shaders + tcb uploads
Ben Skeggs [Sun, 1 Jun 2008 12:41:40 +0000 (22:41 +1000)]
nv50: import current "state of the art" nv50 code
Ben Skeggs [Sun, 29 Jun 2008 03:26:04 +0000 (13:26 +1000)]
nouveau: adapt to cpp->pf_block changes
Ben Skeggs [Sun, 29 Jun 2008 03:02:31 +0000 (13:02 +1000)]
Revert "mesa: Use the appropriate relocation."
This reverts commit
cb09d1ef60dae3b3c44f1370fd2f726c7044bc17.
Ben Skeggs [Sun, 29 Jun 2008 02:16:13 +0000 (12:16 +1000)]
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
Brian Paul [Sat, 28 Jun 2008 22:47:39 +0000 (16:47 -0600)]
mesa: added null ptr checks
Brian Paul [Sat, 28 Jun 2008 22:47:22 +0000 (16:47 -0600)]
s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()
Brian Paul [Sat, 28 Jun 2008 22:15:03 +0000 (16:15 -0600)]
mesa: check FEATURE_point_size_array
Brian Paul [Sat, 28 Jun 2008 22:04:01 +0000 (16:04 -0600)]
egl: set config's EGL_CONFORMANT, EGL_RENDERABLE_TYPE, EGL_SURFACE_TYPE attributes
Brian Paul [Sat, 28 Jun 2008 22:03:28 +0000 (16:03 -0600)]
egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertions
José Fonseca [Sat, 28 Jun 2008 11:40:44 +0000 (20:40 +0900)]
egl: WinCE doesn't have sys/types.h
Zack Rusin [Fri, 27 Jun 2008 20:47:22 +0000 (16:47 -0400)]
egl: helps if the stride is right