Brian
344356a0ed
gallium: remove DOS carriage returns
2008-03-14 16:01:24 -06:00
Brian
08e341e5dc
gallium: remove DOS carriage returns
2008-03-14 16:01:23 -06:00
Brian
027433176c
i915: check for NULL const buffer ptr
2008-03-14 10:23:56 -06:00
Keith Whitwell
e4cdce43ce
gallium: fix some compiler warnings
2008-03-14 08:42:45 +00:00
Brian
78302c7ca3
gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()
...
Otherwise, we won't have our constants when we run the fragment shader.
Fixes crash in glsl tests when SP_VBUF=1.
2008-03-13 18:19:47 -06:00
Brian
269fbeb545
gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real attribs
...
Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode.
2008-03-13 16:57:57 -06:00
Brian
7d5e38a55a
gallium: plug in new sp_vbuf_draw_arrays() function
...
Will be used for pass-through mode.
Also, call draw_set_render() to register the vbuf stage. Should probably
rename that function to something like draw_set_vbuf_stage().
2008-03-13 16:53:44 -06:00
Brian
69c39b9ae2
gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.
...
Otherwise, we were never setting these flags. This confused the state tracker.
Fixes progs/demos/texenv.c, probably others.
2008-03-13 15:08:18 -06:00
Ian Romanick
3115e8c968
cell: Fix to work with commit fa9e7e9a8d
2008-03-13 13:10:16 -07:00
Ian Romanick
6472138045
Replicate TXP changes in the SPU version of TGSI exec
...
Replicate changes from commit ba75e82b6e
in spu_exec.c
2008-03-13 11:21:14 -07: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