Patrice Mandin
8c26a521ee
Update for extra vertex attributes
2008-06-21 22:59:05 +02:00
Patrice Mandin
5fea663b5f
nv30: Add state for blend
2008-06-21 12:03:05 +02:00
Patrice Mandin
582b39ebb9
nv30: Update nouveau_class.h to get its proper defines instead of using nv40 ones
2008-06-21 10:11:37 +02:00
Brian Paul
be4259b06c
gallium: fix invalid call to draw_set_mapped_constant_buffer()
...
We were indexing sp_constants[i] outside the loop so i was 2.
Replace i with PIPE_SHADER_VERTEX.
Also, replace magic '2' with PIPE_SHADER_TYPES in a few places.
2008-06-20 17:28:42 -06:00
Brian Paul
f38bb10969
gallium: fix some surface usage bugs
...
When a surface is created with GPU_WRITE that really means "GPU render"
and that can involve reads (blending). Set surface usage to
PIPE_BUFFER_USAGE_CPU_READ + WRITE. Fixes progs/demos/lodbias demo.
Also, mark texture as 'modified' when mapped for writing so that the tile
cache can know when to freshen a cached tile. Fixes glTexSubImage2D().
2008-06-20 15:58:19 -06:00
Patrice Mandin
5e1d657d50
nv30: Add separate nv30 state stuff for fb, based on nv40 one, need to use it now
2008-06-20 22:19:22 +02:00
Jakob Bornecrantz
8d0329fb6a
i915: Fixed cubemap layouts
...
Apprently we shouldn't do all the advanced layout
operation for none compressed formats.
The compressed code was also broken, its currently
disabled, but should be fixed once i915simple starts
to support compressed formats.
2008-06-19 17:11:06 +02:00
Jakob Bornecrantz
6cbc2734d1
i915: Refractored and clean up i915_texture.c
2008-06-19 14:43:54 +02:00
Jakob Bornecrantz
081c05605f
i915: Fix for s8_z24 textures not being shown
2008-06-18 01:48:24 +02:00
Jakob Bornecrantz
d9d1e39d95
i915: Max and Min lod now works
2008-06-17 15:47:01 +02:00
Jakob Bornecrantz
3da77b33bb
i915: Improved the not used tile code
2008-06-13 20:46:14 +02:00
Jakob Bornecrantz
d1397fd779
i915: Fix offsets not being used for surface targets
2008-06-13 19:07:29 +02:00
Jakob Bornecrantz
c341094921
i915: Fix most of the clear problems
...
trivial/clear-undefined still fails
2008-06-13 19:03:51 +02:00
Jakob Bornecrantz
de35bf5bdc
i915: Messed up lineloop now works
2008-06-13 14:11:20 +02:00
Jakob Bornecrantz
e9b8df69b4
i915: Support all primtive types in vbuf path
2008-06-13 12:21:58 +02:00
José Fonseca
7d3bab537c
softpipe: Replace GETENV by debug_get_bool_option.
2008-06-10 08:52:10 +09:00
José Fonseca
a70684bf25
gallium: Deprecate GETENV. Replace by debug_get_bool_option.
...
debug_get_bool_option will interpret "n", "no", "0", "f", or
"false" as FALSE; and everything else as TRUE. The default value
(used when the variable is not set) is received as a parameter.
2008-06-10 08:33:21 +09:00
Jakob Bornecrantz
cfc23bc54c
i915: Disable color buffer writes if no color buffer is attached
2008-06-09 16:33:28 +02:00
Jakob Bornecrantz
afd635a950
i915: Fix compile on linux-dri-debug
2008-06-03 12:35:01 +02:00
Jakob Bornecrantz
6a3aab1983
i915: Removed useless defines
2008-06-02 17:24:31 +02:00
Jakob Bornecrantz
7cc23a9eae
i915: Implement and use the reworked batchbuffer code
2008-06-02 17:24:30 +02:00
Jakob Bornecrantz
4ee14279f3
i915: Rework of batchbuffer code
2008-06-02 17:24:30 +02:00
José Fonseca
e0860518df
gallium: Replace XSTDCALL by PIPE_CDECL.
2008-06-02 22:31:02 +09:00
Jakob Bornecrantz
c1949e2bd3
i915: Fixed some warnings
2008-06-02 13:00:32 +02:00
Jakob Bornecrantz
f4364cd1a6
i915: Fixed initialization of surface
2008-06-02 12:59:59 +02:00
Michal Krol
49ed85d6b1
brw: SWZ no longer aliases MOV.
2008-06-02 11:42:16 +02:00
Michal Krol
dfd30b8786
i915: SWZ no longer aliases MOV.
2008-06-02 11:41:17 +02:00
Michal Krol
dc6068a8bc
cell: SWZ no longer aliases MOV.
2008-06-02 11:40:44 +02:00
Michal Krol
0112211614
brw: Fix build after TGSI declaration interface changes.
2008-05-31 19:54:20 +02:00
Michal Krol
99b4655549
i915: Fix build after TGSI declaration interface changes.
2008-05-31 19:52:41 +02:00
Michal Krol
347d28fd20
cell: Fix build after TGSI declaration interface changes.
2008-05-31 19:51:50 +02:00
Michal Krol
140e0e0718
i915: Comment out dead & problematic code.
2008-05-31 18:44:47 +02:00
Michal Krol
9b3c1582be
i915: Add mising include.
2008-05-31 18:42:17 +02:00
José Fonseca
45b2c23d7a
i915: Eliminate void pointer arithmetic.
2008-05-31 18:55:40 +09:00
Brian Paul
12bb907522
gallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driver
2008-05-30 15:07:58 -06:00
Jakob Bornecrantz
b12a31f59d
i915: Now using draw_elements_range
2008-05-30 13:46:54 +02:00
Jakob Bornecrantz
3869c3c87a
Merge branch 'gallium-tex-surfaces' into gallium-0.1
...
Conflicts:
src/gallium/drivers/i915simple/i915_context.h
2008-05-30 13:46:18 +02:00
Jakob Bornecrantz
2ade5268dc
i915: Remade texture allocation code again
2008-05-30 13:42:21 +02:00
Ben Skeggs
996b549fdb
nv40: a couple of memory leaks
2008-05-30 11:04:55 +10:00
Jakob Bornecrantz
529b3f4cc0
i915: Fix GPU lockup on resize
2008-05-29 19:07:40 +02:00
Jakob Bornecrantz
056bea86b0
i915: Deprecated pipe_winsys buffer functions
2008-05-29 15:49:23 +02:00
Keith Whitwell
bb2e13b9e8
draw: make sure constant buffer data is aligned before passing to aos.c
2008-05-29 12:38:49 +01:00
Jakob Bornecrantz
79b67d8408
i915: Remove last usage of surface_alloc_storage
2008-05-29 13:10:12 +02:00
Keith Whitwell
82605d7bcd
draw: draw_range_elements trial
2008-05-29 11:48:04 +01:00
Jakob Bornecrantz
276552c0dd
i915: Add draw_flush to state changes
2008-05-28 14:52:10 +02:00
Keith Whitwell
7fd6cd9af3
Merge branch 'gallium-vertex-linear' into gallium-tex-surfaces
2008-05-28 13:33:09 +01:00
Jakob Bornecrantz
4b1f382e13
i915: Remove workaround for buggy draw module
2008-05-28 14:22:07 +02:00
Jakob Bornecrantz
ce56bcb640
i915: Prepare for tiled private front and back buffers
2008-05-28 13:44:36 +02:00
Jakob Bornecrantz
cb5e05d99c
i915: Made vertex submission eaven faster
2008-05-28 13:44:36 +02:00
Jakob Bornecrantz
08130512b9
i915: Made vbuf work
2008-05-28 13:44:36 +02:00