Ben Skeggs
1d9049c4df
nouveau: match gallium API changes
2008-03-21 00:18:18 +11:00
Ben Skeggs
c7e9cb1093
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-03-21 00:11:25 +11:00
Brian Paul
122ed506f4
gallium: added fb_width/height fields to softpipe context
...
These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf
in various places.
2008-03-19 18:10:09 -06:00
Brian Paul
4984487bc3
gallium: add face, dirtyLevels params to pipe->texture_update()
...
This provides better information about which images in texture object have changed.
Also, call texture_update() from more places previously missed.
2008-03-19 17:15:14 -06:00
Brian
4b39ba7216
gallium: set tc->surface_map = NULL after unmapping
2008-03-19 11:14:18 -06:00
Ben Skeggs
62767cf2dd
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-03-19 22:51:17 +11:00
Ben Skeggs
176df85568
nv40: "implement" noise opcodes in fragprog
...
For the moment, we do what NVIDIA does and return 0 unconditionally. This
isn't correct, but it's an implementation at least.
2008-03-19 22:50:42 +11:00
Ben Skeggs
9575e35807
nouveau: pass nvws to nvws->push_* functions, rather than nouveau_channel*
2008-03-19 22:50:42 +11:00
Ian Romanick
fe40dae02d
cell: Fix various stencil test code-gen bugs
2008-03-18 16:00:49 -07:00
Ian Romanick
fa69a6e1bb
cell: Correctly load stencil for PIPE_FORMAT_S8Z24_UNORM
2008-03-18 16:00:49 -07:00
Patrice Mandin
75e714d476
nv30: disable emit texture image in state_emit, already done in fragtex
2008-03-18 21:50:01 +01:00
Ian Romanick
17b234ae33
cell: Fix depth read / write for s8z24.
...
Stencil is still broken.
2008-03-18 11:47:37 -07:00
Ian Romanick
f3e686d24a
cell: Fix added whitespace errors.
2008-03-18 10:29:14 -07:00
Ian Romanick
5fdaebc51c
cell: Minor changes to make stencil not crash
...
I'm not sure these are quite correct. The reflect demo doesn't assert
anymore, but it doesn't produce correct results either. SPE-based
vertex shader code needs to be disabled for relfect to run.
2008-03-18 10:28:39 -07:00
Ian Romanick
f432ac5a11
cell: Move and (conditionally) silence debug code
2008-03-18 10:28:39 -07:00
Patrice Mandin
e4b5008de4
nv30: hmm, no buffer for texture
2008-03-18 13:34:26 +01:00
Patrice Mandin
a514aeb778
nv30: update miptree stuff for texturing
2008-03-18 13:20:59 +01:00
Ian Romanick
9f93e67019
cell: Don't segfault when unbinding alpha / stencil / depth test state
2008-03-17 16:09:28 -07:00
Ian Romanick
1936e4bdfd
cell: Initial code-gen for alpha / stencil / depth testing
...
Alpha test is currently broken because all per-fragment testing occurs
before alpha is calculated.
Stencil test is currently broken because the Z-clear code asserts if
there is a stencil buffer.
2008-03-17 15:47:45 -07:00
Patrice Mandin
3394ba65b1
nv30: another 2 rt, and set viewport tx origin, so we render at the proper place \o/
2008-03-17 19:03:38 +01:00
Patrice Mandin
a33da10b6c
nv30: only 2 render targets
2008-03-17 18:13:40 +01:00
Ben Skeggs
6b32699001
nv40: a few more fp opcodes
2008-03-17 23:05:46 +11:00
Keith Whitwell
9425a702be
gallium: improvements, or extensions at least, to the passthrough path
...
Passthrough is actually more tricky than you'd think...
2008-03-17 10:10:45 +00:00
Ben Skeggs
767cd2ed6e
nv40: workaround main swtnl breakage
...
Not sure where the real bug is here yet, but for now this gives us correct
rendering in far more cases than previously.
2008-03-17 13:53:44 +11:00
Stephane Marchesin
5c15b1276e
nv10: fixes.
2008-03-17 03:32:07 +01:00
Stephane Marchesin
b2f01b0777
nouveau: latest header.
2008-03-17 03:14:11 +01:00
Brian
49a687882a
gallium: finish remaining prim types for sp_vbuf_draw_arrays()
...
Not totally tested, but easily fixed if glitches are found.
2008-03-16 10:33:59 -06:00
Ben Skeggs
e1cf3f00e5
nv40: simple swtnl path (half broken, but getting there)
2008-03-16 18:13:34 +11:00
Ben Skeggs
7d2c63e909
nv10: fix build after merge
2008-03-16 12:55:13 +11:00
Ben Skeggs
c4354f8460
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-03-16 12:49:46 +11:00
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
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