Commit graph

34468 commits

Author SHA1 Message Date
Mathias Fröhlich
cdbd5f4203 gallium: EXT_timer_query support.
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-05-17 12:05:18 -07:00
Corbin Simpson
fea91ee22d r300g: Add RS block dump.
Shows what's actually going on in the RS block.
2010-05-17 12:01:16 -07:00
Brian Paul
ddf09d20df st/mesa: call st_flush_bitmap_cache() from st_readpixels()
Fixes regression from commit b0427bedde.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
2010-05-17 12:43:50 -06:00
Brian Paul
92f88c746c rbug: remove extra semicolon 2010-05-17 12:43:50 -06:00
Eric Anholt
f0fb3aa5d4 i965: Make rasterization of single and multiple quad prims match.
This is trying to follow the spirit of the invariance rules, though
they're not specific on this point.  Fixes quad-invariance piglit test
while retaining the 22s -> 18s win on glean blendFunc.

This was a regression in c67d9d84f5.
2010-05-17 10:42:25 -07:00
José Fonseca
32a7209c0a gallivm: Tweak ret_mask handling. 2010-05-17 15:22:48 +01:00
Zack Rusin
0b7ca2f8fc gallivm: implement function calls by inlining
with this approach we inline the entire function body in the caller
2010-05-17 09:55:23 +01:00
José Fonseca
7234dc19af i965g: Fix printf format specifier. 2010-05-17 09:54:28 +01:00
Eric Anholt
df3590f570 i965: Remove the half-baked code for multiple OQs at the same time.
GL doesn't actually let you begin an OQ while one is active, so the
extra work was pointless.
2010-05-16 15:34:37 -07:00
Eric Anholt
3d8ed332df i965: Remove unused occlusion query struct field. 2010-05-16 15:34:36 -07:00
Tom Stellard
9d3c57281e r300/compiler: fix peephole optimizer
Tested-by: Marek Olšák <maraeo@gmail.com>
2010-05-16 20:20:55 +02:00
Nicolai Hähnle
997f2eac5e r300/compiler: Implement simple peephole optimizer
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-05-16 20:15:53 +02:00
Marek Olšák
0b94c05c28 r300g: implement flush+sync (AKA glFinish)
See comments in the code.
2010-05-16 19:31:23 +02:00
Marek Olšák
581be86342 r300g: expose radeon_bo_wait to the driver 2010-05-16 19:18:10 +02:00
Marek Olšák
06d4339716 r300g: remove unused winsys entrypoints 2010-05-16 19:18:10 +02:00
Jakob Bornecrantz
c882c310cc sw/wrapper: Implement dt_get_handle 2010-05-16 12:22:19 +01:00
Jakob Bornecrantz
d294c349d5 sw/wrapper: Make sure targets are textures 2010-05-16 12:22:19 +01:00
Jakob Bornecrantz
2db4ee0438 i965g: Fix return for resource_get_handle 2010-05-16 12:22:19 +01:00
Marek Olšák
c1ef21833a r300g/swtcl: put emitting max index to the right place
This fixes CS rejections in openarena.
2010-05-16 05:29:58 +02:00
Marek Olšák
412cdcd479 r300g/swtcl: flush draw to avoid the rejection of CS 2010-05-16 04:10:50 +02:00
Marek Olšák
01e5a73b57 r300g/swtcl: update PSC only once when a shader is changed 2010-05-16 04:10:00 +02:00
Marek Olšák
dca9624201 r300g/swtcl: call update_derived_state only once per draw-call 2010-05-16 04:10:00 +02:00
Vinson Lee
7672305da5 st/xlib: Remove unnecessary header. 2010-05-15 18:48:53 -07:00
Vinson Lee
e9072dcd31 st/xorg: Remove unnecessary header. 2010-05-15 18:44:58 -07:00
Vinson Lee
1d6a6d96ae mesa: Remove unnecessary header. 2010-05-15 18:41:52 -07:00
Vinson Lee
b224264c9d r300g: Move code after declarations.
Fixes SCons build.
2010-05-15 17:44:08 -07:00
Marek Olšák
ee6255052c r300g/swtcl: fix provoking vertex 2010-05-16 00:35:51 +02:00
Marek Olšák
87547ac70c r300g/swtcl: fix point sprite texgen (do it in HW) 2010-05-16 00:21:53 +02:00
Marek Olšák
6a0ec833e4 r300g/swtcl: disable converting points/lines to triangles 2010-05-16 00:06:21 +02:00
Marek Olšák
0ab72a5a0a r300/compiler: silence a warning 2010-05-15 23:53:04 +02:00
Marek Olšák
f86ac27bf9 r300g: fix psychedelic colors with SWTCL
r300_vertex_shader::outputs was uninitialized.
Also remove the tokens parameter.
2010-05-15 22:55:17 +02:00
Marek Olšák
cf5dff1f23 r300g: the vertex_stream_state atom for SWTCL should be static
plus whitespace and comment fixes.
2010-05-15 22:27:27 +02:00
Marek Olšák
04882a2947 r300g: remove unused struct r300_vertex_info 2010-05-15 22:15:56 +02:00
Marek Olšák
95ba021105 r300g: fix emission of some non-CSO atoms at the beginning of CS 2010-05-15 21:22:23 +02:00
Marek Olšák
af87ef10dc r300g: remove unused r300_query::active 2010-05-15 19:39:57 +02:00
Marek Olšák
251fae69e5 r300g: fix BO space accounting for occlusion queries 2010-05-15 19:39:57 +02:00
Marek Olšák
00704370e4 r300g: forbid overlapping queries and print error messages 2010-05-15 19:39:11 +02:00
Marek Olšák
16690366e6 r300g: rename a few emit_query functions 2010-05-15 19:38:28 +02:00
Marek Olšák
6c3afad62b r300g: silence warnings 2010-05-15 19:33:39 +02:00
Vinson Lee
6440dcea21 llvmpipe: Remove unnecessary headers. 2010-05-15 08:38:00 -07:00
José Fonseca
55b5806e36 util: Remove unused cruft. 2010-05-15 11:52:03 +01:00
José Fonseca
8a3bcba12c llvmpipe: Use GALLIVM_DEBUG opt where applicable. 2010-05-15 11:48:39 +01:00
José Fonseca
e7c0b4de17 draw: Use GALLIVM_DEBUG opt. 2010-05-15 11:43:16 +01:00
José Fonseca
145fd48b37 gallivm: Centralize some of the LLVM debugging options. 2010-05-15 11:42:02 +01:00
José Fonseca
263e038431 gallivm: Temporarily remove function call support
Commits moved to the gallivm-call feature branch for further
experimentation and stabilization.
2010-05-15 11:31:10 +01:00
Zack Rusin
af75bb4c98 gallivm: use our util_snprintf 2010-05-15 01:24:00 -04:00
Zack Rusin
7458928370 gallivm: implement function calls 2010-05-15 00:58:57 -04:00
Zack Rusin
b93fa7e2e8 vpglsl: add some simple tests with function calls 2010-05-15 00:58:43 -04:00
Eric Anholt
4e84dc8729 i965: Set the correct provoking vertex for clipped first-mode trifans.
Bug #24470: glean clipFlat test.
2010-05-14 15:37:24 -07:00
Brian Paul
18ed479119 gallivm: added some vector length sanity checks 2010-05-14 13:23:41 -06:00