Vinson Lee
e19195c185
progs/xdemos: Fix memory leak in pbinfo.c.
2009-11-20 15:52:53 -08:00
Vinson Lee
e0857962b9
progs/xdemos: Fix memory leak in pbdemo.c.
2009-11-20 15:48:29 -08:00
Vinson Lee
538a8df652
progs/xdemos: Fix memory leak in glxpbdemo.c.
2009-11-20 15:18:19 -08:00
Marek Olšák
015e7e7724
r300g: emit R300_TEX_ENABLE to indicate there are no textures bound
...
Previously, this reg wasn't emitted at all if texture_count == 0.
2009-11-20 15:12:18 -08:00
Marek Olšák
ae70cd1f02
r300g: remove variant states from emit_state_invariant
2009-11-20 15:08:52 -08:00
Vinson Lee
a4720a1a32
progs/xdemos: Remove duplicate code in glxinfo.c.
2009-11-20 15:06:56 -08:00
Vinson Lee
66a4ec14c3
progs/xdemos: Add assert in corender.c.
2009-11-20 15:03:16 -08:00
Corbin Simpson
6a95996abb
r300g: Texrect factor cleanup.
...
(0, 0, 0, 1) is a much saner default value, and texrect factors only need
to be (1/s, 1/t, 0, 1).
2009-11-20 14:56:13 -08:00
Marek Olšák
f4041b37e2
r300g: fix rectangle textures on r3xx
...
Adapted from Maciej Cencora's patch.
2009-11-20 14:47:31 -08:00
Vinson Lee
f6541773c4
i915g: Add missing break statement in i915_debug.c.
2009-11-20 14:31:42 -08:00
Vinson Lee
36e2074b63
gallium/util: Initialize variables in u_pack_color.h.
2009-11-20 14:20:15 -08:00
Corbin Simpson
06ec216d19
r300g: Clean up bitcounting function.
...
I didn't see this in u_math; surely somebody else has this wheel
reinvented elsewhere.
2009-11-20 14:10:59 -08:00
Corbin Simpson
6a3eb1f91b
r300g: Use MAX3 and MIN3.
2009-11-20 14:10:45 -08:00
Corbin Simpson
37ba97421c
util: Add MAX3 and MIN3.
2009-11-20 14:08:58 -08:00
Marek Olšák
beea241374
r300g: set better values in the R300_VAP_CNTL register
2009-11-20 13:33:37 -08:00
Alan Hourihane
0295edf596
Fix comment to use /* */ rather than //
2009-11-20 18:11:30 +00:00
Alan Hourihane
904469dcd2
Fix indentation.
2009-11-20 18:10:54 +00:00
Alan Hourihane
8f648cd3e4
Fix vega compilation.
2009-11-20 18:09:10 +00:00
Alan Hourihane
a24631bcd7
Fix memory leak.
2009-11-20 18:08:29 +00:00
Richard Li
08e5d1ecad
r600 : eliminate Wondows line ending for test code.
2009-11-20 11:03:09 -05:00
Michal Krol
b89cd8afc5
glsl/pp: Expand unknown identifiers to 0 in if/elif expressions.
2009-11-20 08:59:50 +01:00
Keith Whitwell
95d7aca4b9
i965g: fix typo converting wm src regs
2009-11-19 20:40:41 -08:00
Keith Whitwell
9507a6c206
i965g: fragment shader immediates working
2009-11-19 20:02:42 -08:00
Keith Whitwell
63b0af0775
i965g: first pass at vs immediates in curbe
2009-11-19 19:51:14 -08:00
Keith Whitwell
3fafe2b969
progs/vp: add param and imm test
2009-11-19 19:50:19 -08:00
Keith Whitwell
d2f4c80c8b
i965g: get linear vs perspective interpolation working again
2009-11-19 19:41:25 -08:00
Keith Whitwell
4fb77ef840
i965g: include interpolation info in fs signature
2009-11-19 19:31:32 -08:00
Keith Whitwell
34a01929d5
i965g: special case setup when fs has no inputs
2009-11-19 19:29:33 -08:00
Keith Whitwell
47cef2bb8f
i965g: add new state flag tracking fs signature changes
2009-11-19 18:55:18 -08:00
Keith Whitwell
c58e20fbbb
i965g: fix typo in previous commit
2009-11-19 18:47:07 -08:00
Dave Airlie
3f2c77659c
Merge remote branch 'origin/mesa_7_7_branch'
2009-11-20 11:48:10 +10:00
Dave Airlie
f8ea531820
r100: fix texture_from_pixmap and compiz.
...
r100 state emission has separate rect and non-rect states,
if we are doing TFP for a TEXTURE_2D we shouldn't use the rect
states as they won't get emitted properly.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-20 11:47:00 +10:00
Keith Whitwell
7e5cd3eb14
progs/fp: add simple imm, param tests
2009-11-19 16:53:02 -08:00
Keith Whitwell
8db59a1fa3
i965g: setup nr_attrs should track nr fragment shader inputs
...
This would be equivalent to taking the nr outputs of the vp varient
2009-11-19 16:14:44 -08:00
Keith Whitwell
1b9eda4c74
i965g: get fragment constants sort-of working
2009-11-19 16:09:39 -08:00
Keith Whitwell
9e4f3eaf66
i965g: make the load-before-use vs immediate path work
2009-11-19 15:04:00 -08:00
Keith Whitwell
25cbf9b4da
i965g: fix initialization of texture width/height/depth arrays
...
Will remove these arrays in another branch - they're completely redundant.
2009-11-19 14:47:24 -08:00
Richard Li
b09e74901a
r600 : Clean up a bit test code mess.
2009-11-19 17:41:10 -05:00
Vinson Lee
8b808d50e2
st/xorg: Fix infinite loop in copy_packed_data.
2009-11-19 14:40:00 -08:00
Keith Whitwell
683e35f726
gallium: don't use arrays for texture width,height,depth
2009-11-19 14:39:34 -08:00
Vinson Lee
4ab8dbe593
progs/xdemos: Add missing break statement in offset.c.
2009-11-19 14:20:26 -08:00
Brian Paul
4e6c79ac16
st/mesa: replace st_flush() with pipe->flush()
...
We only need to flush the gallium driver in this case.
Fixes a recursive state validation bug.
2009-11-19 15:18:23 -07:00
Brian Paul
2198497203
vbo: added recursion check in vbo_exec_FlushVertices()
2009-11-19 15:17:56 -07:00
Richard Li
48dfd3938e
r600 : change shader pop method for now.
2009-11-19 16:55:16 -05:00
Brian Paul
dc41d62250
st/mesa: get rid of compressed_num_bytes() code
2009-11-19 14:35:38 -07:00
Brian Paul
92863109af
st/mesa: remove is_compressed_mesa_format()
2009-11-19 14:17:31 -07:00
Brian Paul
273f4d6b5f
st/mesa: remove pointless assertion
2009-11-19 14:17:31 -07:00
Brian Paul
3f40166500
softpipe: whitespace/indentation fixes
2009-11-19 14:17:31 -07:00
Richard Li
49b3f4a6bc
Merge branch 'master' of ssh://richardradeon@git.freedesktop.org/git/mesa/mesa
2009-11-19 16:17:13 -05:00
Richard Li
6345a7ba44
r600 : check in shader code test enable flag: if flag
...
R600_ENABLE_GLSL_TEST defined, IL shader code will goto r600 assembler.
The test base is /mesa/progs/glsl/brick, and changes
shader code in CH06-brick.frag/vert to test different logic op
combination. (if,else,while,function,...). The stack depth code is not
in yet, so it is hard coded now. So complex code would not run (such as
things like 8 loops embeded loop in loop).
2009-11-19 16:05:43 -05:00