mesa.git
17 years agogrr, always check twice before commit
Patrice Mandin [Fri, 8 Dec 2006 16:40:34 +0000 (16:40 +0000)]
grr, always check twice before commit

17 years agoResend spot light parameters when part of it changes
Patrice Mandin [Fri, 8 Dec 2006 16:39:12 +0000 (16:39 +0000)]
Resend spot light parameters when part of it changes

17 years agoSkeletal extension handling across chipsets.
Ben Skeggs [Fri, 8 Dec 2006 14:12:47 +0000 (14:12 +0000)]
Skeletal extension handling across chipsets.

17 years agoNV_44 uses nv30InitStateFuncs too
Ben Skeggs [Fri, 8 Dec 2006 12:36:26 +0000 (12:36 +0000)]
NV_44 uses nv30InitStateFuncs too

17 years agostate cache is automagically flushed on a normal BEGIN_RING_SIZE
Ben Skeggs [Fri, 8 Dec 2006 11:51:50 +0000 (11:51 +0000)]
state cache is automagically flushed on a normal BEGIN_RING_SIZE

17 years agoImplement a simple nv30Clear, and make sure we get a nouveau_renderbuffer
Ben Skeggs [Fri, 8 Dec 2006 11:45:39 +0000 (11:45 +0000)]
Implement a simple nv30Clear, and make sure we get a nouveau_renderbuffer
    for the depth buffer and not a Mesa renderbuffer adaptor

17 years agooops, typo
Ben Skeggs [Fri, 8 Dec 2006 07:27:39 +0000 (07:27 +0000)]
oops, typo

17 years agoCreate visuals for modes the ddx provides
Ben Skeggs [Fri, 8 Dec 2006 07:15:43 +0000 (07:15 +0000)]
Create visuals for modes the ddx provides

17 years agooops, we don't want this by default just yet...
Ben Skeggs [Fri, 8 Dec 2006 03:04:10 +0000 (03:04 +0000)]
oops, we don't want this by default just yet...

17 years agoSome work on buffer handling, most likely not entirely correct and
Ben Skeggs [Fri, 8 Dec 2006 03:01:33 +0000 (03:01 +0000)]
Some work on buffer handling, most likely not entirely correct and
    incomplete. But, it works well enough that windows can be
    moved/resized.

17 years agoFix the swtcl module.
Stephane Marchesin [Sun, 3 Dec 2006 11:46:18 +0000 (11:46 +0000)]
Fix the swtcl module.

17 years agoRemove duplicate nv10 tcl defines
Patrice Mandin [Sun, 3 Dec 2006 10:08:04 +0000 (10:08 +0000)]
Remove duplicate nv10 tcl defines

17 years agoMerge the pciid work. Use lock step versioning with the drm.
Stephane Marchesin [Sun, 3 Dec 2006 09:08:26 +0000 (09:08 +0000)]
Merge the pciid work. Use lock step versioning with the drm.

17 years agoFix a copy+paste'o that caused some *very* strange bugs..
Ben Skeggs [Sun, 3 Dec 2006 02:01:49 +0000 (02:01 +0000)]
Fix a copy+paste'o that caused some *very* strange bugs..

17 years ago- Add InitInstruction to hw shader backend, and remove SetUnusedSource.
Ben Skeggs [Mon, 27 Nov 2006 01:57:37 +0000 (01:57 +0000)]
- Add InitInstruction to hw shader backend, and remove SetUnusedSource.
- NV30FP/NV40VP: Clear any fields before we OR new values into them
- NV40VP: It seems that it might be possible to write a result reg at the
    same time a temp is written. In InitInstruction, initialise OUT_DEST to
    OUT_DEST_TEMP so result regs don't get clobbered by default.

17 years agoFix RSQ emulation
Ben Skeggs [Sun, 26 Nov 2006 13:18:41 +0000 (13:18 +0000)]
Fix RSQ emulation

17 years agoFix progs/fp/tri-xpd
Ben Skeggs [Sun, 26 Nov 2006 10:19:44 +0000 (10:19 +0000)]
Fix progs/fp/tri-xpd
Fragprog consts are inlined, so make sure we update *all* occurances of a
    param :)

17 years agoIncomplete shader stuff, should mostly work for NV40. Other cards, not so
Ben Skeggs [Sat, 25 Nov 2006 09:58:35 +0000 (09:58 +0000)]
Incomplete shader stuff, should mostly work for NV40. Other cards, not so
    much..

17 years agofix scissor
Ben Skeggs [Sat, 25 Nov 2006 06:02:10 +0000 (06:02 +0000)]
fix scissor

17 years agonv10,nv20,nv30: send correct values for spot light direction X,Y,Z and
Patrice Mandin [Fri, 24 Nov 2006 23:34:03 +0000 (23:34 +0000)]
nv10,nv20,nv30: send correct values for spot light direction X,Y,Z and
    cutoff parameter C

17 years agonv10: rename spot light coefs like nv20,nv30
Patrice Mandin [Fri, 24 Nov 2006 23:23:18 +0000 (23:23 +0000)]
nv10: rename spot light coefs like nv20,nv30

17 years agoThat was really stupid.
Stephane Marchesin [Thu, 23 Nov 2006 09:21:44 +0000 (09:21 +0000)]
That was really stupid.

17 years agoSome missing state init
Ben Skeggs [Wed, 22 Nov 2006 20:15:56 +0000 (20:15 +0000)]
Some missing state init

17 years agoEnable nv10 tcl state
Patrice Mandin [Tue, 21 Nov 2006 21:44:16 +0000 (21:44 +0000)]
Enable nv10 tcl state

17 years agonv10,nv20: nvX0ShadeModel static function
Patrice Mandin [Tue, 21 Nov 2006 21:15:49 +0000 (21:15 +0000)]
nv10,nv20: nvX0ShadeModel static function

17 years agonv10,nv20,nv30: color light components renamed from a,b,c to r,g,b
Patrice Mandin [Tue, 21 Nov 2006 21:11:58 +0000 (21:11 +0000)]
nv10,nv20,nv30: color light components renamed from a,b,c to r,g,b

17 years agoah, correct revision now
Patrice Mandin [Tue, 21 Nov 2006 20:38:14 +0000 (20:38 +0000)]
ah, correct revision now

17 years agoupdate from renouveau
Patrice Mandin [Tue, 21 Nov 2006 20:29:09 +0000 (20:29 +0000)]
update from renouveau

17 years agonv10: update state
Patrice Mandin [Tue, 21 Nov 2006 19:56:15 +0000 (19:56 +0000)]
nv10: update state

17 years agonouveauCreateDmaObject
Ben Skeggs [Tue, 21 Nov 2006 14:03:06 +0000 (14:03 +0000)]
nouveauCreateDmaObject

17 years agoRemaining state cache changes
Stephane Marchesin [Tue, 21 Nov 2006 13:07:48 +0000 (13:07 +0000)]
Remaining state cache changes

17 years agoAdd the state caching mechanism. It seems to work, from what I can see.
Stephane Marchesin [Tue, 21 Nov 2006 12:43:16 +0000 (12:43 +0000)]
Add the state caching mechanism. It seems to work, from what I can see.

17 years agoMore state.
Jeremy Kolb [Tue, 21 Nov 2006 02:47:13 +0000 (02:47 +0000)]
More state.

17 years agoAdd state initialization to context creation.
Jeremy Kolb [Mon, 20 Nov 2006 17:25:54 +0000 (17:25 +0000)]
Add state initialization to context creation.

17 years agoCleanup the swtcl code.
Stephane Marchesin [Sun, 19 Nov 2006 23:47:24 +0000 (23:47 +0000)]
Cleanup the swtcl code.

17 years agoUse NONINC_METHOD for vertex data.
Stephane Marchesin [Sun, 19 Nov 2006 23:39:16 +0000 (23:39 +0000)]
Use NONINC_METHOD for vertex data.

17 years agoMore work on the swtcl
Stephane Marchesin [Sun, 19 Nov 2006 23:16:29 +0000 (23:16 +0000)]
More work on the swtcl

17 years agoMore fifo debug fixes
Stephane Marchesin [Sun, 19 Nov 2006 22:16:54 +0000 (22:16 +0000)]
More fifo debug fixes

17 years agoOops.
Stephane Marchesin [Sun, 19 Nov 2006 21:51:28 +0000 (21:51 +0000)]
Oops.

17 years agoFix the fifo debugging feature.
Stephane Marchesin [Sun, 19 Nov 2006 21:29:41 +0000 (21:29 +0000)]
Fix the fifo debugging feature.

17 years agoNew swtcl implementation. It's simpler than the previous one (doesn't use
Stephane Marchesin [Sun, 19 Nov 2006 20:18:45 +0000 (20:18 +0000)]
New swtcl implementation. It's simpler than the previous one (doesn't use
    templates) and it is probably faster as well

17 years agoDon't bother touching lighting stuff if shaders are in use
Ben Skeggs [Sun, 19 Nov 2006 16:05:59 +0000 (16:05 +0000)]
Don't bother touching lighting stuff if shaders are in use

17 years agoFix nv30LineWidth, hw expects a ubyte.
Ben Skeggs [Sun, 19 Nov 2006 15:52:18 +0000 (15:52 +0000)]
Fix nv30LineWidth, hw expects a ubyte.

17 years agoAvoid sharing subchannels with the ddx until context switching is done
Ben Skeggs [Sun, 19 Nov 2006 15:46:31 +0000 (15:46 +0000)]
Avoid sharing subchannels with the ddx until context switching is done
    properly..

17 years agoMore FIFO fixes.
Ben Skeggs [Sun, 19 Nov 2006 15:45:36 +0000 (15:45 +0000)]
More FIFO fixes.

17 years agoStupid bug..
Ben Skeggs [Sun, 19 Nov 2006 14:10:54 +0000 (14:10 +0000)]
Stupid bug..

17 years agopoke the correct FIFO regs
Ben Skeggs [Sun, 19 Nov 2006 12:00:59 +0000 (12:00 +0000)]
poke the correct FIFO regs

17 years agoMore state functions
Stephane Marchesin [Sat, 18 Nov 2006 00:36:22 +0000 (00:36 +0000)]
More state functions

17 years agoAdd nv20_state.c ; hook nv10_state.c into the build ; do the renaming
Stephane Marchesin [Sat, 18 Nov 2006 00:19:22 +0000 (00:19 +0000)]
Add nv20_state.c ; hook nv10_state.c into the build ; do the renaming
    required by the renouveau changes.

17 years agoSmall unneeded nv03 fix
Stephane Marchesin [Fri, 17 Nov 2006 22:11:13 +0000 (22:11 +0000)]
Small unneeded nv03 fix

17 years agoUse RENDERINPUTS macros to access render_inputs_bitset
Ben Skeggs [Fri, 17 Nov 2006 21:58:02 +0000 (21:58 +0000)]
Use RENDERINPUTS macros to access render_inputs_bitset

17 years agoAdapt FIFO code to deal with cases where the base GET/PUT value isn't 0.
Ben Skeggs [Fri, 17 Nov 2006 04:50:37 +0000 (04:50 +0000)]
Adapt FIFO code to deal with cases where the base GET/PUT value isn't 0.

17 years agojkolb pointed out that face can also be FRONT_AND_BACK. Added stencil funcs
Ben Skeggs [Thu, 16 Nov 2006 23:43:39 +0000 (23:43 +0000)]
jkolb pointed out that face can also be FRONT_AND_BACK. Added stencil funcs

17 years agoAdd nv30InitStateFuncs
Ben Skeggs [Thu, 16 Nov 2006 23:24:20 +0000 (23:24 +0000)]
Add nv30InitStateFuncs

17 years agonv10 state copy/pasted from nv30 state
Patrice Mandin [Thu, 16 Nov 2006 19:50:56 +0000 (19:50 +0000)]
nv10 state copy/pasted from nv30 state

17 years agoFix segfault in nouveauCalcViewport
Ben Skeggs [Mon, 13 Nov 2006 16:01:03 +0000 (16:01 +0000)]
Fix segfault in nouveauCalcViewport

17 years agoAdd include guard.
Jeremy Kolb [Sun, 12 Nov 2006 18:18:02 +0000 (18:18 +0000)]
Add include guard.

17 years agoSome more nouveau_screen.c setup, not sure how correct it is yet though..
Ben Skeggs [Sun, 12 Nov 2006 08:38:44 +0000 (08:38 +0000)]
Some more nouveau_screen.c setup, not sure how correct it is yet though..

17 years agoWe need nmesa->driFd and friends setup before we call nouveauFifoInit
Ben Skeggs [Sun, 12 Nov 2006 02:06:30 +0000 (02:06 +0000)]
We need nmesa->driFd and friends setup before we call nouveauFifoInit

17 years agoDont call exit() from the DRI driver, with AIGLX this is particularly nasty
Ben Skeggs [Sun, 12 Nov 2006 02:05:40 +0000 (02:05 +0000)]
Dont call exit() from the DRI driver, with AIGLX this is particularly nasty

17 years agofix typo
Ben Skeggs [Sat, 11 Nov 2006 20:00:29 +0000 (20:00 +0000)]
fix typo

17 years agoSome nouveau_screen work for darktama
Stephane Marchesin [Sat, 11 Nov 2006 18:25:00 +0000 (18:25 +0000)]
Some nouveau_screen work for darktama

17 years agoFill in nv30PointSize and nv30Viewport.
Jeremy Kolb [Sat, 11 Nov 2006 16:48:14 +0000 (16:48 +0000)]
Fill in nv30PointSize and nv30Viewport.

17 years agoFix the texture init function name
Stephane Marchesin [Sat, 11 Nov 2006 12:01:48 +0000 (12:01 +0000)]
Fix the texture init function name

17 years agoAdd the GL_LIGHING enable
Stephane Marchesin [Sat, 11 Nov 2006 11:25:08 +0000 (11:25 +0000)]
Add the GL_LIGHING enable

17 years agoSome work on nv30 state, heavily based on jkolb's work
Stephane Marchesin [Sat, 11 Nov 2006 00:00:45 +0000 (00:00 +0000)]
Some work on nv30 state, heavily based on jkolb's work

17 years agoCommit a small nitpick
Stephane Marchesin [Tue, 7 Nov 2006 17:37:22 +0000 (17:37 +0000)]
Commit a small nitpick

17 years agoArchitect the DRI :
Stephane Marchesin [Sun, 5 Nov 2006 13:46:48 +0000 (13:46 +0000)]
Architect the DRI :
- make use of the autogenerated nouveau_reg.h file
- add object creation to the DRI
- some work on screen and context creation

17 years agoAdded OUT_RING* debugging macros. Compile with NOUVEAU_RING_DEBUG to use.
Jeremy Kolb [Wed, 1 Nov 2006 02:48:34 +0000 (02:48 +0000)]
Added OUT_RING* debugging macros. Compile with NOUVEAU_RING_DEBUG to use.

17 years agoOops. Forgot to check in the context change.
Jeremy Kolb [Wed, 1 Nov 2006 02:45:12 +0000 (02:45 +0000)]
Oops. Forgot to check in the context change.

17 years agoFix compile errors. Add vblank_seq to nouveau_context.
Jeremy Kolb [Wed, 1 Nov 2006 02:44:27 +0000 (02:44 +0000)]
Fix compile errors. Add vblank_seq to nouveau_context.

17 years agoKill all the current shader code.
Ben Skeggs [Sun, 24 Sep 2006 13:16:23 +0000 (13:16 +0000)]
Kill all the current shader code.

17 years agoSome small changes
Stephane Marchesin [Sun, 17 Sep 2006 17:46:36 +0000 (17:46 +0000)]
Some small changes

17 years agoRename nouveau_tris.* to nouveau_swtcl.*
Stephane Marchesin [Sun, 17 Sep 2006 15:30:40 +0000 (15:30 +0000)]
Rename nouveau_tris.* to nouveau_swtcl.*

17 years agoSmall changes
Stephane Marchesin [Sun, 17 Sep 2006 14:36:07 +0000 (14:36 +0000)]
Small changes

17 years agoMake nouveau actually compile
Stephane Marchesin [Sun, 17 Sep 2006 12:09:11 +0000 (12:09 +0000)]
Make nouveau actually compile

17 years agoSome work towards making the nv10 swtcl compile
Stephane Marchesin [Sun, 17 Sep 2006 11:58:52 +0000 (11:58 +0000)]
Some work towards making the nv10 swtcl compile

17 years agooops, time to go to bed
Patrice Mandin [Fri, 8 Sep 2006 23:19:45 +0000 (23:19 +0000)]
oops, time to go to bed

17 years agonv10: vertex attribute output format
Patrice Mandin [Fri, 8 Sep 2006 23:18:27 +0000 (23:18 +0000)]
nv10: vertex attribute output format

17 years agomore macros, still missing the alloc_verts one
Patrice Mandin [Fri, 8 Sep 2006 21:52:25 +0000 (21:52 +0000)]
more macros, still missing the alloc_verts one

17 years agoreimport sw stuff
Patrice Mandin [Fri, 8 Sep 2006 21:41:58 +0000 (21:41 +0000)]
reimport sw stuff

17 years agorender_primitive macro
Patrice Mandin [Fri, 8 Sep 2006 21:34:47 +0000 (21:34 +0000)]
render_primitive macro

17 years agovert_copy_spec macro
Patrice Mandin [Fri, 8 Sep 2006 21:30:32 +0000 (21:30 +0000)]
vert_copy_spec macro

17 years agovert_copy_rgba macro
Patrice Mandin [Fri, 8 Sep 2006 21:27:17 +0000 (21:27 +0000)]
vert_copy_rgba macro

17 years agobasic primitives
Patrice Mandin [Fri, 8 Sep 2006 21:23:04 +0000 (21:23 +0000)]
basic primitives

17 years agoRemove useless reference to fifo_num field
Patrice Mandin [Fri, 8 Sep 2006 20:17:59 +0000 (20:17 +0000)]
Remove useless reference to fifo_num field

18 years agoA couple of quick fixes, the original had some half-finished
Ben Skeggs [Sat, 3 Jun 2006 17:15:50 +0000 (17:15 +0000)]
A couple of quick fixes, the original had some half-finished
    modifications..

18 years agoAnother TODO, so I don't forget..
Ben Skeggs [Sat, 3 Jun 2006 16:37:46 +0000 (16:37 +0000)]
Another TODO, so I don't forget..

18 years agoAdd start of vertex shader backend, will most likely not work correctly yet
Ben Skeggs [Sat, 3 Jun 2006 16:36:23 +0000 (16:36 +0000)]
Add start of vertex shader backend, will most likely not work correctly yet

18 years agoMore context.
Jeremy Kolb [Mon, 17 Apr 2006 15:20:29 +0000 (15:20 +0000)]
More context.

18 years agoChanged invalid context fields to valid ones.
Jeremy Kolb [Mon, 17 Apr 2006 00:08:03 +0000 (00:08 +0000)]
Changed invalid context fields to valid ones.

18 years agoState changes.
Jeremy Kolb [Sat, 15 Apr 2006 00:21:44 +0000 (00:21 +0000)]
State changes.

18 years agoMore work on the tcl code... still have to make my mind on a number of
Stephane Marchesin [Fri, 14 Apr 2006 23:47:45 +0000 (23:47 +0000)]
More work on the tcl code... still have to make my mind on a number of
    things

18 years agoAdd more feilds to context.
Jeremy Kolb [Fri, 14 Apr 2006 23:02:39 +0000 (23:02 +0000)]
Add more feilds to context.

18 years agoooops
Stephane Marchesin [Fri, 14 Apr 2006 22:59:33 +0000 (22:59 +0000)]
ooops

18 years agoAdded render index field to the context
Stephane Marchesin [Fri, 14 Apr 2006 22:58:30 +0000 (22:58 +0000)]
Added render index field to the context

18 years agoCleaning
Jeremy Kolb [Fri, 14 Apr 2006 22:50:14 +0000 (22:50 +0000)]
Cleaning

18 years agoSilence the lock warning
Stephane Marchesin [Fri, 14 Apr 2006 22:48:03 +0000 (22:48 +0000)]
Silence the lock warning

18 years agoAdded vertex attributes to the context
Stephane Marchesin [Fri, 14 Apr 2006 22:43:44 +0000 (22:43 +0000)]
Added vertex attributes to the context

18 years agoCleaned stuff in the tcl code
Stephane Marchesin [Fri, 14 Apr 2006 22:41:16 +0000 (22:41 +0000)]
Cleaned stuff in the tcl code