Commit graph

34494 commits

Author SHA1 Message Date
Alan Coopersmith
beb5e1c807 fpclassify is available on C99-compliant Solaris releases too
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-19 08:29:12 -06:00
Vinson Lee
c85aa99904 util: Remove unused imports from Python scripts. 2010-05-19 06:53:49 -07:00
Vinson Lee
82049b9595 util: Remove unnecessary semicolons in Python scripts. 2010-05-19 06:43:14 -07:00
Keith Whitwell
431a51b9af Merge commit 'origin/graw-tests' 2010-05-19 14:04:16 +01:00
Keith Whitwell
a536c204e2 scons: don't set default_llvm on windows unles LLVM is defined
Otherwise we'll raise an error later in llvm.py
2010-05-19 13:36:05 +01:00
Michal Krol
5a5a82d7e8 softpipe: Calculate slice_stride field in get_transfer(). 2010-05-19 08:23:33 +02:00
Michal Krol
83826dac9b tgsi: Implement OPCODE_DIV. 2010-05-19 08:23:33 +02:00
Kristian Høgsberg
4cd259ca59 dri2_glx: Put the invalidate b/c code back in
The backwards compatibility code calls the DRI driver invalidate hook
on swap buffer and flush front buffer.  This lets the DRI driver rely
on invalidate callbacks and drop the glViewport() hack, even if the
server doesn't send invalidate events.  This is essentially a revert
of 2d00d16da7, except that we now also
pass the __DRI_USE_INVALIDATE extension even when the server doesn't
have DRI2 invalidate events.
2010-05-18 22:58:01 -04:00
Kristian Høgsberg
c8f407bcec dri2_glx: Terminate loader extension list outside #ifdef 2010-05-18 22:58:01 -04:00
Nicolai Hähnle
1712643a29 r300/compiler: Implement constant folding
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-05-19 03:15:25 +02:00
Tom Stellard
19ea2eae91 r300/compiler: Emit 0.5 swizzle when necessary.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-05-19 03:08:50 +02:00
Eric Anholt
81951393e1 i965: Remove constant or ignored-by-hw args from FF sync message setup. 2010-05-18 15:08:17 -07:00
Eric Anholt
dfb7b86e63 i965: Revert accidental debug change in 562e2d114e 2010-05-18 10:12:20 -07:00
Michel Dänzer
b0ba8d6f80 st/xorg: Don't advertise DRI2 version we don't actually support yet.
Fixes DRI2 initialization with current xserver Git.
2010-05-18 17:14:47 +02:00
Zou Nan hai
0f88ce1b0a gen6 fix: fix a wrong bit in binding_table_pointer 2010-05-18 16:07:03 +08:00
Eric Anholt
64f5e9059b i965: Fix point coordinate replacement after airlied's ffvertex changes.
This basically restores the previous state, where a vertex result slot
is set up for the texcoord to be replaced with point coord.  Fixes
piglit point-sprite test.

Bug #27625
2010-05-17 17:47:07 -07:00
Eric Anholt
b8b2670fef i965: Add SF program disasm under INTEL_DEBUG=sf. 2010-05-17 17:47:07 -07:00
Jakob Bornecrantz
b3f625f5e4 llvmpipe: Fix link order for test apps
When linking with --as-needed libgallium.a can't find the dl* symbols from
-ldl since order matters more with --as-needed.

Thanks to Nirbheek Chauhan and Adam Jackson
2010-05-17 22:33:35 +01:00
Kristian Høgsberg
2386d41648 intel: Call intel_draw_buffer() again after _mesa_make_current()
The initial call to intel_draw_buffers() happens when
intel->ctx.DrawBuffer is still NULL.  Call it again after
calling _mesa_make_current().

https://bugs.freedesktop.org/show_bug.cgi?id=28112
2010-05-17 16:50:44 -04:00
Corbin Simpson
bb81f65b18 gallium/docs: Fix missing ref.
Can't ref in the middle of a paragraph.
2010-05-17 12:58:29 -07:00
Corbin Simpson
f1cf6b0d37 gallium/docs: Update for timer queries. 2010-05-17 12:05:18 -07:00
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