Xavier Chantry [Thu, 20 May 2010 17:36:27 +0000 (19:36 +0200)]
nv50: fix too long shader uploads by splitting them
Christoph Bumiller [Thu, 20 May 2010 17:47:01 +0000 (19:47 +0200)]
nv50: fill in shader limits
Brian Paul [Thu, 20 May 2010 16:26:19 +0000 (10:26 -0600)]
scons: add comments and whitespace
Brian Paul [Thu, 20 May 2010 16:25:17 +0000 (10:25 -0600)]
scons: fix llvm detection
The test for env['platform'] caused an exception since 'env' is not
defined at that point. Instead, determine the target platform by
scanning sys.argv[].
Brian Paul [Wed, 19 May 2010 19:26:11 +0000 (13:26 -0600)]
gallivm: rename a var: s/val/array_size/
Brian Paul [Wed, 19 May 2010 19:25:39 +0000 (13:25 -0600)]
gallivm: fix spelling in comment
Brian Paul [Wed, 19 May 2010 18:46:20 +0000 (12:46 -0600)]
gallivm: handle pointer types in lp_dump_llvmtype()
Brian Paul [Wed, 19 May 2010 18:39:52 +0000 (12:39 -0600)]
llvmpipe: more tweaks to dump_fs_variant_key()
Brian Paul [Wed, 19 May 2010 18:28:16 +0000 (12:28 -0600)]
gallium: fix/update tex target dumping
Brian Paul [Wed, 19 May 2010 17:37:42 +0000 (11:37 -0600)]
llvmpipe: use util_dump_logicop()
Brian Paul [Wed, 19 May 2010 17:37:09 +0000 (11:37 -0600)]
gallium: added util_dump_logicop()
Brian Paul [Wed, 19 May 2010 17:28:29 +0000 (11:28 -0600)]
llvmpipe: put variant print/debug code into separate function
Kristian Høgsberg [Wed, 19 May 2010 01:50:44 +0000 (21:50 -0400)]
intel: Throttle after doing copyregion/swapbuffers round trip
Before we would throttle in the flush callback prior to round-tripping
to the server to do copyregion or swapbuffer. Now, instead just note
that we need to throttle and do it in intel_prepare_render(), which
will be called after receiving the response from the server but before
we start rendering the next frame. Even if the server also throttles
us in swapbuffer, this just makes the throttling a no-op when we hit
intel_prepare_render(). With that we can drop the
using_dri2_swapbuffers hack and just always throttle.
Vinson Lee [Thu, 20 May 2010 14:36:53 +0000 (07:36 -0700)]
graw-null: Remove unnecessary header.
Jakob Bornecrantz [Thu, 29 Apr 2010 12:05:49 +0000 (13:05 +0100)]
st/xorg: Try hard to not touch hardware after dropping the master
Jakob Bornecrantz [Fri, 23 Apr 2010 04:51:58 +0000 (05:51 +0100)]
st/xorg: Remove save and restore hw state
Jakob Bornecrantz [Thu, 22 Apr 2010 09:48:28 +0000 (10:48 +0100)]
st/xorg: Get new connection status from kernel
Chia-I Wu [Tue, 18 May 2010 16:22:57 +0000 (10:22 -0600)]
progs/egl: Fix building on cygwin.
Update the Makefiles to use variables such as EGL_LIB_NAME. Define M_PI
if it hasn't been defined yet.
Chia-I Wu [Wed, 12 May 2010 08:03:04 +0000 (16:03 +0800)]
egl: Link drivers back to libEGL.
Drivers need symbols from libEGL. Without back-linking, the build fails
on Cygwin.
Mathias Fröhlich [Wed, 19 May 2010 14:46:51 +0000 (08:46 -0600)]
gallium/docs: s/milli/nano/
Vinson Lee [Wed, 19 May 2010 14:36:25 +0000 (07:36 -0700)]
graw: Disable build of tests/graw.
The SCons build is failing in src/gallium/tests/graw.
Alan Coopersmith [Tue, 18 May 2010 16:28:37 +0000 (09:28 -0700)]
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>
Vinson Lee [Wed, 19 May 2010 13:53:49 +0000 (06:53 -0700)]
util: Remove unused imports from Python scripts.
Vinson Lee [Wed, 19 May 2010 13:41:35 +0000 (06:41 -0700)]
util: Remove unnecessary semicolons in Python scripts.
Keith Whitwell [Wed, 19 May 2010 13:04:16 +0000 (14:04 +0100)]
Merge commit 'origin/graw-tests'
Keith Whitwell [Wed, 19 May 2010 12:27:31 +0000 (13:27 +0100)]
scons: don't set default_llvm on windows unles LLVM is defined
Otherwise we'll raise an error later in llvm.py
Michal Krol [Tue, 18 May 2010 10:39:01 +0000 (12:39 +0200)]
softpipe: Calculate slice_stride field in get_transfer().
Michal Krol [Thu, 13 May 2010 14:37:35 +0000 (16:37 +0200)]
tgsi: Implement OPCODE_DIV.
Kristian Høgsberg [Tue, 18 May 2010 18:45:10 +0000 (14:45 -0400)]
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
2d00d16da7f5d2255cb37b48edaf4cbb9ca7e930, except that we now also
pass the __DRI_USE_INVALIDATE extension even when the server doesn't
have DRI2 invalidate events.
Kristian Høgsberg [Tue, 18 May 2010 18:02:57 +0000 (14:02 -0400)]
dri2_glx: Terminate loader extension list outside #ifdef
Nicolai Hähnle [Sun, 11 Oct 2009 15:11:11 +0000 (17:11 +0200)]
r300/compiler: Implement constant folding
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Tom Stellard [Tue, 18 May 2010 06:29:19 +0000 (23:29 -0700)]
r300/compiler: Emit 0.5 swizzle when necessary.
Signed-off-by: Marek Olšák <maraeo@gmail.com>
Eric Anholt [Fri, 14 May 2010 05:15:34 +0000 (22:15 -0700)]
i965: Remove constant or ignored-by-hw args from FF sync message setup.
Eric Anholt [Tue, 18 May 2010 02:19:43 +0000 (19:19 -0700)]
i965: Revert accidental debug change in
562e2d114ec0cba8
Michel Dänzer [Tue, 18 May 2010 15:14:47 +0000 (17:14 +0200)]
st/xorg: Don't advertise DRI2 version we don't actually support yet.
Fixes DRI2 initialization with current xserver Git.
Zou Nan hai [Tue, 18 May 2010 08:07:03 +0000 (16:07 +0800)]
gen6 fix: fix a wrong bit in binding_table_pointer
Eric Anholt [Tue, 18 May 2010 00:07:33 +0000 (17:07 -0700)]
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
Eric Anholt [Mon, 17 May 2010 23:48:16 +0000 (16:48 -0700)]
i965: Add SF program disasm under INTEL_DEBUG=sf.
Jakob Bornecrantz [Mon, 17 May 2010 21:15:53 +0000 (22:15 +0100)]
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
Kristian Høgsberg [Mon, 17 May 2010 20:49:55 +0000 (16:49 -0400)]
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
Corbin Simpson [Mon, 17 May 2010 19:58:29 +0000 (12:58 -0700)]
gallium/docs: Fix missing ref.
Can't ref in the middle of a paragraph.
Corbin Simpson [Mon, 17 May 2010 19:00:59 +0000 (12:00 -0700)]
gallium/docs: Update for timer queries.
Mathias Fröhlich [Mon, 17 May 2010 18:48:56 +0000 (11:48 -0700)]
gallium: EXT_timer_query support.
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Corbin Simpson [Fri, 14 May 2010 01:02:08 +0000 (18:02 -0700)]
r300g: Add RS block dump.
Shows what's actually going on in the RS block.
Brian Paul [Mon, 17 May 2010 18:43:25 +0000 (12:43 -0600)]
st/mesa: call st_flush_bitmap_cache() from st_readpixels()
Fixes regression from commit
b0427bedde80e3189524651a327235bdfddbc613.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Brian Paul [Mon, 17 May 2010 18:42:41 +0000 (12:42 -0600)]
rbug: remove extra semicolon
Eric Anholt [Mon, 17 May 2010 17:42:25 +0000 (10:42 -0700)]
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
c67d9d84f501f145f841c0b981caff6f4dfd936f.
José Fonseca [Mon, 17 May 2010 14:22:48 +0000 (15:22 +0100)]
gallivm: Tweak ret_mask handling.
Zack Rusin [Mon, 17 May 2010 03:27:53 +0000 (23:27 -0400)]
gallivm: implement function calls by inlining
with this approach we inline the entire function body in the caller
José Fonseca [Sun, 16 May 2010 13:01:28 +0000 (14:01 +0100)]
i965g: Fix printf format specifier.
Eric Anholt [Sun, 16 May 2010 22:08:56 +0000 (15:08 -0700)]
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.
Eric Anholt [Sun, 16 May 2010 22:02:45 +0000 (15:02 -0700)]
i965: Remove unused occlusion query struct field.
Tom Stellard [Fri, 14 May 2010 00:15:49 +0000 (02:15 +0200)]
r300/compiler: fix peephole optimizer
Tested-by: Marek Olšák <maraeo@gmail.com>
Nicolai Hähnle [Sun, 11 Oct 2009 14:13:02 +0000 (16:13 +0200)]
r300/compiler: Implement simple peephole optimizer
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Marek Olšák [Sun, 16 May 2010 16:43:44 +0000 (18:43 +0200)]
r300g: implement flush+sync (AKA glFinish)
See comments in the code.
Marek Olšák [Sun, 16 May 2010 16:31:22 +0000 (18:31 +0200)]
r300g: expose radeon_bo_wait to the driver
Marek Olšák [Sun, 16 May 2010 16:30:23 +0000 (18:30 +0200)]
r300g: remove unused winsys entrypoints
Jakob Bornecrantz [Sun, 16 May 2010 01:41:52 +0000 (02:41 +0100)]
sw/wrapper: Implement dt_get_handle
Jakob Bornecrantz [Sun, 16 May 2010 01:41:29 +0000 (02:41 +0100)]
sw/wrapper: Make sure targets are textures
Jakob Bornecrantz [Sun, 16 May 2010 01:40:45 +0000 (02:40 +0100)]
i965g: Fix return for resource_get_handle
Marek Olšák [Sun, 16 May 2010 03:29:11 +0000 (05:29 +0200)]
r300g/swtcl: put emitting max index to the right place
This fixes CS rejections in openarena.
Marek Olšák [Sun, 16 May 2010 02:09:07 +0000 (04:09 +0200)]
r300g/swtcl: flush draw to avoid the rejection of CS
Marek Olšák [Sun, 16 May 2010 01:53:45 +0000 (03:53 +0200)]
r300g/swtcl: update PSC only once when a shader is changed
Marek Olšák [Sun, 16 May 2010 01:36:50 +0000 (03:36 +0200)]
r300g/swtcl: call update_derived_state only once per draw-call
Vinson Lee [Sun, 16 May 2010 01:48:53 +0000 (18:48 -0700)]
st/xlib: Remove unnecessary header.
Vinson Lee [Sun, 16 May 2010 01:44:58 +0000 (18:44 -0700)]
st/xorg: Remove unnecessary header.
Vinson Lee [Sun, 16 May 2010 01:41:52 +0000 (18:41 -0700)]
mesa: Remove unnecessary header.
Vinson Lee [Sun, 16 May 2010 00:44:08 +0000 (17:44 -0700)]
r300g: Move code after declarations.
Fixes SCons build.
Marek Olšák [Sat, 15 May 2010 22:35:51 +0000 (00:35 +0200)]
r300g/swtcl: fix provoking vertex
Marek Olšák [Sat, 15 May 2010 22:21:53 +0000 (00:21 +0200)]
r300g/swtcl: fix point sprite texgen (do it in HW)
Marek Olšák [Sat, 15 May 2010 22:06:21 +0000 (00:06 +0200)]
r300g/swtcl: disable converting points/lines to triangles
Marek Olšák [Sat, 15 May 2010 21:53:04 +0000 (23:53 +0200)]
r300/compiler: silence a warning
Marek Olšák [Sat, 15 May 2010 20:55:17 +0000 (22:55 +0200)]
r300g: fix psychedelic colors with SWTCL
r300_vertex_shader::outputs was uninitialized.
Also remove the tokens parameter.
Marek Olšák [Sat, 15 May 2010 20:25:25 +0000 (22:25 +0200)]
r300g: the vertex_stream_state atom for SWTCL should be static
plus whitespace and comment fixes.
Marek Olšák [Sat, 15 May 2010 20:15:56 +0000 (22:15 +0200)]
r300g: remove unused struct r300_vertex_info
Marek Olšák [Sat, 15 May 2010 19:22:23 +0000 (21:22 +0200)]
r300g: fix emission of some non-CSO atoms at the beginning of CS
Marek Olšák [Sat, 15 May 2010 17:37:33 +0000 (19:37 +0200)]
r300g: remove unused r300_query::active
Marek Olšák [Sat, 15 May 2010 17:31:35 +0000 (19:31 +0200)]
r300g: fix BO space accounting for occlusion queries
Marek Olšák [Sat, 15 May 2010 17:39:11 +0000 (19:39 +0200)]
r300g: forbid overlapping queries and print error messages
Marek Olšák [Sat, 15 May 2010 17:38:28 +0000 (19:38 +0200)]
r300g: rename a few emit_query functions
Marek Olšák [Sat, 15 May 2010 17:21:17 +0000 (19:21 +0200)]
r300g: silence warnings
Vinson Lee [Sat, 15 May 2010 15:38:00 +0000 (08:38 -0700)]
llvmpipe: Remove unnecessary headers.
José Fonseca [Sat, 15 May 2010 10:52:03 +0000 (11:52 +0100)]
util: Remove unused cruft.
José Fonseca [Sat, 15 May 2010 10:48:39 +0000 (11:48 +0100)]
llvmpipe: Use GALLIVM_DEBUG opt where applicable.
José Fonseca [Sat, 15 May 2010 10:43:16 +0000 (11:43 +0100)]
draw: Use GALLIVM_DEBUG opt.
José Fonseca [Sat, 15 May 2010 10:42:02 +0000 (11:42 +0100)]
gallivm: Centralize some of the LLVM debugging options.
José Fonseca [Sat, 15 May 2010 10:31:10 +0000 (11:31 +0100)]
gallivm: Temporarily remove function call support
Commits moved to the gallivm-call feature branch for further
experimentation and stabilization.
Zack Rusin [Sat, 15 May 2010 05:24:00 +0000 (01:24 -0400)]
gallivm: use our util_snprintf
Zack Rusin [Sat, 15 May 2010 04:39:59 +0000 (00:39 -0400)]
gallivm: implement function calls
Zack Rusin [Sat, 15 May 2010 04:58:02 +0000 (00:58 -0400)]
vpglsl: add some simple tests with function calls
Eric Anholt [Fri, 14 May 2010 22:34:35 +0000 (15:34 -0700)]
i965: Set the correct provoking vertex for clipped first-mode trifans.
Bug #24470: glean clipFlat test.
Brian Paul [Fri, 14 May 2010 19:23:10 +0000 (13:23 -0600)]
gallivm: added some vector length sanity checks
Brian Paul [Fri, 14 May 2010 19:22:45 +0000 (13:22 -0600)]
gallivm: added lp_sizeof_llvm_type()
Brian Paul [Fri, 14 May 2010 17:09:29 +0000 (11:09 -0600)]
gallivm: comments, const qualifiers
Brian Paul [Thu, 13 May 2010 22:54:25 +0000 (16:54 -0600)]
tgsi: clean up in emit_fetch()
Brian Paul [Thu, 13 May 2010 22:52:06 +0000 (16:52 -0600)]
mesa: more info in glUniform error messages
Brian Paul [Thu, 13 May 2010 22:38:58 +0000 (16:38 -0600)]
mesa: silence void * / func * conversion warnings
Brian Paul [Thu, 13 May 2010 22:37:22 +0000 (16:37 -0600)]
tgsi: add a dummy function to silence warning
Brian Paul [Thu, 13 May 2010 22:37:02 +0000 (16:37 -0600)]
mesa: enum bitfields are a gcc-only feature, use GLubyte
Kristian Høgsberg [Fri, 7 May 2010 02:40:25 +0000 (22:40 -0400)]
egl: Implement EGL_NOK_texture_from_pixmap
This extension allows a color buffer to be used for both rendering and
texturing. EGL allows the use of color buffers of pbuffer drawables
for texturing, this extension extends this to allow the use of color
buffers of pixmaps too.