Commit Graph

188 Commits

Author SHA1 Message Date
Patrice Mandin 5e17088ee3 cso_context_destroy calls bind_state functions with NULL parameter 2008-03-15 16:45:49 +01:00
Stephane Marchesin d493203045 nv10. 2008-03-15 05:37:57 +01:00
Stephane Marchesin 509044609d nouveau: latest header. 2008-03-15 04:43:12 +01:00
Stephane Marchesin 9a3320e079 nv30: only 2 RTs. 2008-03-15 04:42:48 +01:00
Ben Skeggs 1cec61e441 nouveau: NV9X is basically a G80, fix issue with NV6X being detected as G80. 2008-03-13 18:08:22 +11:00
Ben Skeggs 9a4938d703 nouveau: match interface changes 2008-03-13 13:39:16 +11:00
Ben Skeggs 03ec663758 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-03-13 13:39:05 +11:00
Stephane Marchesin bd4fe0e87c nouveau: update to latest nouveau_class.h 2008-03-13 00:44:25 +01:00
Brian 2109ba4c5d i915: handle NULL object in i915_bind_rasterizer_state() 2008-03-12 16:56:12 -06:00
Brian 51809bc1bc remove reference to obsolete ExtDivide 2008-03-12 13:22:58 -06:00
Patrice Mandin 3b2a9b01a0 nv30: debug dumps vp constants 2008-03-12 19:06:29 +01:00
Stephane Marchesin 830b4709f0 nouveau: update to latest reg header. 2008-03-12 18:43:29 +01:00
Stephane Marchesin 6bd5e5ce00 nv30: line up the miptree creation to latest changes. 2008-03-12 18:40:37 +01:00
Michal Krol ba75e82b6e tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP. 2008-03-12 16:41:25 +01:00
Keith Whitwell 98ae83d5cc gallium: Add TEX_FILTER_ANISO img filter
Hardware almost universally expects us to set a special filtering mode
when anisotropic filtering is enabled, as opposed to varying a max-aniso
values.  Do this once in the state tracker & simplify the driver code.
2008-03-12 10:42:49 +00:00
Brian 221adbd601 cell: check for NULL shader pointer in cell_bind_vs_state() 2008-03-11 20:03:37 -06:00
Brian 339e7ec680 gallium: rework CSO-related code in state tracker
Use the code in cso_context.c rather than st_cache.c.
Basically, binding of state objects now goes through the CSO module.
But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're
not cached by the CSO module at this time.

Also, update softpipe driver to handle NULL state objects in various places.
This happens during context destruction.  May need to update other drivers...
2008-03-11 18:55:58 -06:00
José Fonseca 21ff003061 gallium: Silence MSVC warnings. 2008-03-12 00:27:52 +00:00
Patrice Mandin 169912b71a nv30: silence some warnings 2008-03-11 19:58:16 +01:00
Ben Skeggs cd9ed05aec nv50: start on fb state 2008-03-12 04:50:53 +11:00
Ben Skeggs cd85dc1e5d nv50: rasterizer stateobj 2008-03-12 04:29:58 +11:00
Ben Skeggs 2fee5f7648 nv50: scissor/viewport/blend colour/stipple 2008-03-12 03:54:53 +11:00
Ben Skeggs 06bd7d78b9 nv50: depth_stencil_alpha stateobj 2008-03-12 03:41:05 +11:00
Ben Skeggs 9c29512154 nv50: crappy state validate/emit function
Just for testing stateobjs to make sure they don't hang the engine.
2008-03-12 02:59:42 +11:00
Ben Skeggs 3250bacd24 nv50: create blend stateobj 2008-03-12 02:56:10 +11:00
Ben Skeggs b2e48f8484 nv50: convert to hwctx-in-screen as nv40 is 2008-03-12 02:39:13 +11:00
Ben Skeggs 1fb3c94f03 nv50: some forgotten changes 2008-03-12 02:20:40 +11:00
Ian Romanick b1525662b3 Move SPE register allocator to rtasm code
Move the register allocator to a common location.  There is more code
on the way that will make use of this interface.
2008-03-10 17:00:44 -07:00
Brian 5b82d551b7 cell: sync up with sampler/texture state-setting changes 2008-03-10 16:43:36 -06:00
José Fonseca b721bc8792 gallium: WinCE portability fixes. 2008-03-10 14:00:13 +00:00
Ben Skeggs ae0e047ba4 nv30: put the card into vtxprog mode + small cleanups/fixes 2008-03-10 14:28:13 +11:00
Ben Skeggs 82f22d9e14 nv30: a couple of vtxprog fixes 2008-03-06 11:52:25 +11:00
Keith Whitwell 4528287e04 gallium: michel's patch to rework texture/sampler binding interface
Bind all the samplers/textures at once rather than piecemeal.
This is easier for drivers to understand.
2008-03-05 10:56:49 +01:00
Ben Skeggs 1de15ad83e nv40: re-do vtxbuf format code 2008-03-03 00:01:44 +11:00
Ben Skeggs 57b8711aeb nv40: nuke debug 2008-03-02 16:48:15 +11:00
Ben Skeggs a414173105 Merge remote branch 'nouveau/gallium-0.1' into nouveau-gallium-0.1 2008-03-02 15:42:53 +11:00
Ben Skeggs 59d4b7cc62 nv40: fix segv when app "skips" texture units. 2008-03-02 15:28:24 +11:00
Ben Skeggs b560ed2444 nouveau: enable multi-context/single-channel support for nv40 2008-03-02 15:02:25 +11:00
Ben Skeggs 132def0c41 Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1 2008-03-02 02:35:17 +11:00
Michal Krol 4d22330837 scons: List sp_screen.c. 2008-02-29 20:18:45 +01:00
Ben Skeggs 17f6db9d01 nv40: move "channel context" stuff into nv40_screen 2008-02-29 23:08:01 +11:00
Ben Skeggs baaae562f0 nouveau: hand nouveau_winsys in with pipe_screen init 2008-02-29 22:54:40 +11:00
Ben Skeggs 84cc07dc89 nouveau: implement pipe_screen
Untested on NV3x/NV5x.  Quite possibly broken.
2008-02-29 15:03:57 +11:00
Ben Skeggs 8c77e6f674 Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1 2008-02-29 13:24:31 +11:00
Brian ebe3b34ad2 cell: convert all points/lines to tris for the time being
Allows more programs to look correct.  We'll want native points/lines someday.
2008-02-28 18:02:05 -07:00
Brian 6144c2bd65 cell: remove obsolete texture field 2008-02-28 17:57:54 -07:00
Michel Dänzer 626b8d177b Make sure struct pipe_screen is declared. 2008-02-28 09:07:38 +00:00
José Fonseca 5c0a089a5d gallium: Remove extra level of indirecttion. 2008-02-28 13:52:30 +09:00
Brian 1774b177b8 gallium: added draw_num_vs_outputs() to query number of post-transform vertex attribs 2008-02-27 18:46:54 -07:00
Brian 627efcaa80 gallium/i965: remove more dependencies on pipe_shader_state semantic info 2008-02-27 17:21:29 -07:00