Commit graph

249 commits

Author SHA1 Message Date
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
9911ca2226 nv50: ouch, next_subchannel++ :) 2008-03-12 03:21:48 +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
Ben Skeggs
ae0e047ba4 nv30: put the card into vtxprog mode + small cleanups/fixes 2008-03-10 14:28:13 +11:00
Ben Skeggs
66ba021e9f nouveau: another "argh gallium fscks with assert" fix 2008-03-07 22:48:26 +11:00
Ben Skeggs
82f22d9e14 nv30: a couple of vtxprog fixes 2008-03-06 11:52:25 +11: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
a5966c8b28 nouveau: silence some warnings 2008-03-02 16:39:24 +11:00
Ben Skeggs
578b5cd9a0 nouveau: fix potential crash 2008-03-02 16:35:47 +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
0a12e4587c nouveau: turn pushbuf macros into inline functions 2008-03-02 14:09:57 +11:00
Ben Skeggs
132def0c41 Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1 2008-03-02 02:35:17 +11:00
Brian Paul
5240cebb23 gallium: fix line emit order for unfilled tris
A tri drawn with GL_LINE_LOOP and GL_POLYGON w/ fillmode=GL_LINE should produce
the same results when line stipple is enabled.  Results are correct now.
2008-02-29 13:04:53 -07:00
Brian Paul
6da943d204 gallium: point rast coord tweak 2008-02-29 13:04:53 -07:00
Brian Paul
b8ee90e05a gallium: need precalc_flat=1 for wide lines 2008-02-29 13:04:52 -07:00
Michal Krol
4d22330837 scons: List sp_screen.c. 2008-02-29 20:18:45 +01:00
Brian Paul
2a121e8e22 gallium: tweak coords for wide lines 2008-02-29 11:37:12 -07:00
Brian Paul
a41b77f4fe gallium: added pipe_get/put_tile_z() functions 2008-02-29 11:10:20 -07:00
Brian
78220aea86 gallium: remove the ugly pipe->draw stage lookup code in aaline/point/pstipple stages
Added a void *draw ptr to pipe_context.  Probably look for a better solution someday.
2008-02-29 10:08:16 -07: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
Brian Paul
b233b1e2dc gallium: new wide point/line stages (missed in prev commit) 2008-02-28 17:54:42 -07:00
Brian Paul
a1a1395488 gallium: split draw_wide_prim stage into separate point/line stages.
This fixes a validation/code-path problem.  Enabling the stage for the sake
of wide points also inadvertantly caused wide lines to be converted to tris
when we actually want them passed through, such as for the AA line stage.
This is just cleaner now.
Also, replace draw_convert_wide_lines() with draw_wide_line_threshold() as
was done for points.  Allows for 1-pixel lines to be converted too if needed.
2008-02-28 17:49:22 -07:00
José Fonseca
e280bd50cc gallium: Fix MSVC warnings. 2008-02-28 21:25:54 +09: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
José Fonseca
510bc3535c gallium: Fix sign/unsign comparison. 2008-02-28 13:06:52 +09:00
Brian
d8bf051c8b gallium: remove unneeded pipe ptr from pipe_texture 2008-02-27 18:49:35 -07: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
Brian
46da2f42a8 gallium/i965: added const to silence warning 2008-02-27 17:21:01 -07:00
Brian
d612b6fa9b cell: fix minor get_tex_surface() breakage 2008-02-27 16:17:15 -07:00
Brian
dacf91fe58 gallium/i965: remove brw_shader_info struct
The info it contained is now found in tgsi_shader_info.
Added a few assertions to catch potential misunderstandings about register
counts vs. highest register index used.
2008-02-27 16:22:08 -07:00
Brian
f504d87240 gallium/i965: silence warnings 2008-02-27 16:11:26 -07:00
Brian
7ba1afb033 gallium/i965: added const to silence warnings 2008-02-27 16:11:14 -07:00
Brian
bad54d0b4d gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info instead 2008-02-27 16:09:17 -07:00
Brian
ea7e86dd4d gallium/i965: remove dependencies on pipe_shader_state's semantic info
The brw_shader_info struct is rendundant and could be removed...
2008-02-27 16:05:16 -07:00
Brian
6b9a7eb460 gallium: remove dependencies on pipe_shader_state's semantic info 2008-02-27 16:03:40 -07:00