mesa.git
13 years agor600g: translate ARR instruction
Keith Whitwell [Wed, 3 Nov 2010 18:54:03 +0000 (18:54 +0000)]
r600g: translate ARR instruction

13 years agor600g: attempt to turn on DXTn formats
Keith Whitwell [Wed, 3 Nov 2010 14:23:45 +0000 (14:23 +0000)]
r600g: attempt to turn on DXTn formats

Seems to sort-of work for non-mipmapped textures.  Better than just
black anyway.

13 years agor600g: avoid recursion with staged uploads
Keith Whitwell [Wed, 3 Nov 2010 14:06:33 +0000 (14:06 +0000)]
r600g: avoid recursion with staged uploads

Don't use an intermediate for formats which don't support hardware
blits under u_blitter.c, as these will recursively attempt to create a
transfer.

13 years agomesa: no-op glBufferSubData() on size==0
Brian Paul [Tue, 9 Nov 2010 19:24:49 +0000 (12:24 -0700)]
mesa: no-op glBufferSubData() on size==0

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31439

NOTE: this is a candidate for the 7.9 branch

13 years agosoftpipe: can't no-op depth test stage when occlusion query is enabled
Brian Paul [Tue, 9 Nov 2010 18:43:37 +0000 (11:43 -0700)]
softpipe: can't no-op depth test stage when occlusion query is enabled

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31479

13 years agost/dri: Add support for surfaceless current contexts.
Chia-I Wu [Tue, 9 Nov 2010 17:38:41 +0000 (01:38 +0800)]
st/dri: Add support for surfaceless current contexts.

Tested with Wayland.

13 years agodocs: Update egl docs.
Chia-I Wu [Tue, 2 Nov 2010 15:55:56 +0000 (23:55 +0800)]
docs: Update egl docs.

13 years agoautoconf: Add --enable-gallium-egl.
Chia-I Wu [Mon, 1 Nov 2010 18:00:36 +0000 (02:00 +0800)]
autoconf: Add --enable-gallium-egl.

This option comes handy when we want to build gallium DRI drivers but
not st/egl.

13 years agomesa: Clean up header file inclusion in nvprogram.h.
Vinson Lee [Tue, 9 Nov 2010 14:22:25 +0000 (06:22 -0800)]
mesa: Clean up header file inclusion in nvprogram.h.

13 years agomesa: Clean up header file inclusion in multisample.h.
Vinson Lee [Tue, 9 Nov 2010 14:08:29 +0000 (06:08 -0800)]
mesa: Clean up header file inclusion in multisample.h.

13 years agomesa: Clean up header file inclusion in matrix.h.
Vinson Lee [Tue, 9 Nov 2010 14:00:01 +0000 (06:00 -0800)]
mesa: Clean up header file inclusion in matrix.h.

13 years agomesa: Clean up header file inclusion in lines.h.
Vinson Lee [Tue, 9 Nov 2010 13:47:17 +0000 (05:47 -0800)]
mesa: Clean up header file inclusion in lines.h.

13 years agomesa: Clean up header file inclusion in light.h.
Vinson Lee [Tue, 9 Nov 2010 13:35:24 +0000 (05:35 -0800)]
mesa: Clean up header file inclusion in light.h.

13 years agomesa: Add missing header and forward declarations in dd.h.
Vinson Lee [Tue, 9 Nov 2010 13:13:48 +0000 (05:13 -0800)]
mesa: Add missing header and forward declarations in dd.h.

13 years agomesa: Clean up header file inclusion in image.h.
Vinson Lee [Tue, 9 Nov 2010 13:00:44 +0000 (05:00 -0800)]
mesa: Clean up header file inclusion in image.h.

13 years agogallium/targets: Trivial crosscompiling fix
Thomas Hellstrom [Tue, 9 Nov 2010 11:50:12 +0000 (12:50 +0100)]
gallium/targets: Trivial crosscompiling fix

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13 years agosvga/drm: Optionally resolve calls to powf during link-time
Thomas Hellstrom [Mon, 8 Nov 2010 16:10:02 +0000 (17:10 +0100)]
svga/drm: Optionally resolve calls to powf during link-time

When linked with certain builds of libstdc++, it appears like powf is resolved
by a symbol in that library. Other builds of libstdc++ doesn't contain that
symbol resulting in a linker / loader error. Optionally
resolve that symbol and replace it with calls to logf and expf.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13 years agost/egl: Fix build for include files in nonstandard places
Thomas Hellstrom [Mon, 1 Nov 2010 16:12:39 +0000 (17:12 +0100)]
st/egl: Fix build for include files in nonstandard places

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13 years agomesa: Add talloc includes for gles
Thomas Hellstrom [Mon, 1 Nov 2010 16:10:59 +0000 (17:10 +0100)]
mesa: Add talloc includes for gles

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13 years agoegl: Add an include for size_t
Thomas Hellstrom [Mon, 1 Nov 2010 16:10:03 +0000 (17:10 +0100)]
egl: Add an include for size_t

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
13 years agoscons: build the xorg state trackers only when env includes drm
Zack Rusin [Tue, 9 Nov 2010 05:28:05 +0000 (00:28 -0500)]
scons: build the xorg state trackers only when env includes drm

13 years agomesa: Clean up header file inclusion in histogram.h.
Vinson Lee [Tue, 9 Nov 2010 09:14:55 +0000 (01:14 -0800)]
mesa: Clean up header file inclusion in histogram.h.

13 years agomesa: Clean up header file inclusion in hint.h.
Vinson Lee [Tue, 9 Nov 2010 09:12:34 +0000 (01:12 -0800)]
mesa: Clean up header file inclusion in hint.h.

13 years agomesa: Clean up header file inclusion in framebuffer.h.
Vinson Lee [Tue, 9 Nov 2010 09:04:22 +0000 (01:04 -0800)]
mesa: Clean up header file inclusion in framebuffer.h.

13 years agomesa: Clean up header file inclusion in fog.h.
Vinson Lee [Tue, 9 Nov 2010 08:58:46 +0000 (00:58 -0800)]
mesa: Clean up header file inclusion in fog.h.

13 years agomesa: Clean up header file inclusion in ffvertex_prog.h.
Vinson Lee [Tue, 9 Nov 2010 08:56:02 +0000 (00:56 -0800)]
mesa: Clean up header file inclusion in ffvertex_prog.h.

13 years agomesa: Clean up header file inclusion in fbobject.h.
Vinson Lee [Tue, 9 Nov 2010 08:51:41 +0000 (00:51 -0800)]
mesa: Clean up header file inclusion in fbobject.h.

13 years agoglsl: Fix ir_expression::constant_expression_value()
Chad Versace [Tue, 9 Nov 2010 01:30:13 +0000 (17:30 -0800)]
glsl: Fix ir_expression::constant_expression_value()

When the type of the ir_expression is error_type, return NULL.
This fixes bug 31371.

13 years agoradeon: Implement GL_OES_EGL_image
Johann Rudloff [Mon, 8 Nov 2010 23:55:42 +0000 (18:55 -0500)]
radeon: Implement GL_OES_EGL_image

agd5f: add support to radeon/r200/r300 as well

13 years agoradeon: Implement __DRI_IMAGE and EGL_MESA_image_drm
Johann Rudloff [Mon, 8 Nov 2010 19:43:55 +0000 (14:43 -0500)]
radeon: Implement __DRI_IMAGE and EGL_MESA_image_drm

13 years agoegl_dri2: Add radeon chip ids
Alex Deucher [Mon, 8 Nov 2010 19:25:38 +0000 (14:25 -0500)]
egl_dri2: Add radeon chip ids

13 years agoradeon: Implement EGL_MESA_no_surface_extension
Johann Rudloff [Tue, 27 Jul 2010 20:59:26 +0000 (22:59 +0200)]
radeon: Implement EGL_MESA_no_surface_extension

13 years agoir_dead_functions: Actually free dead functions and signatures.
Kenneth Graunke [Tue, 9 Nov 2010 00:10:46 +0000 (16:10 -0800)]
ir_dead_functions: Actually free dead functions and signatures.

This makes linked shaders use around 36k less memory since the
built-in prototypes are now freed.

13 years agograw: Add struct pipe_surface forward declaration.
Vinson Lee [Mon, 8 Nov 2010 19:55:30 +0000 (11:55 -0800)]
graw: Add struct pipe_surface forward declaration.

Fixes this GCC warning.
graw.h:93: warning: 'struct pipe_surface' declared inside parameter list
graw.h:93: warning: its scope is only this definition or declaration,
which is probably not what you want

13 years agomesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping.
Mario Kleiner [Mon, 8 Nov 2010 03:09:33 +0000 (04:09 +0100)]
mesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping.

A call to radeon_prepare_render() at the beginning of draw
operations was placed too deep in the call chain,
inside r300RunRenderPrimitive(), instead of
r300DrawPrims() where it belongs. This leads to
emission of stale target color renderbuffer into the cs if
bufferswaps via page-flipping are used, and thereby causes
massive rendering corruption due to unsynchronized
rendering into the active frontbuffer.

This patch fixes such problems for use with the
upcoming radeon page-flipping patches.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
13 years agor600g: implement texture_get_handle (needed for eglExportDRMImageMESA)
Benjamin Franzke [Wed, 3 Nov 2010 20:41:48 +0000 (21:41 +0100)]
r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)

13 years agointel: Fix emit_linear_blit to use DWORD aligned width blits
Peter Clifton [Sat, 6 Nov 2010 09:23:06 +0000 (09:23 +0000)]
intel: Fix emit_linear_blit to use DWORD aligned width blits

The width of the 2D blits used to copy the data is defined as a 16-bit
signed integer, but the pitch must be DWORD aligned. Limit to an integral
number of DWORDs, (1 << 15 - 4) rather than (1 << 15 -1).

Fixes corruption to data uploaded with glBufferSubData.

Signed-off-by: Peter Clifton <pcjc2@cam.ac.uk>
13 years agor600c: properly align mipmaps to group size
Alex Deucher [Mon, 8 Nov 2010 16:56:41 +0000 (11:56 -0500)]
r600c: properly align mipmaps to group size

fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=31400

13 years agograw: Export graw_save_surface_to_file().
Michal Krol [Fri, 5 Nov 2010 17:54:02 +0000 (18:54 +0100)]
graw: Export graw_save_surface_to_file().

Allows applications to dump surfaces to file without
referencing gallium/auxiliary entry points statically.

Existing test apps have been modified such that
they save the contents of the fronbuffer only
when the `-o' option's specified.

13 years agoos: Open file streams in binary mode.
Michal Krol [Mon, 8 Nov 2010 16:23:32 +0000 (17:23 +0100)]
os: Open file streams in binary mode.

Otherwise we'll get garbled data on Windows.

13 years agomesa: Clean up header file inclusion in extensions.h.
Vinson Lee [Mon, 8 Nov 2010 05:15:45 +0000 (21:15 -0800)]
mesa: Clean up header file inclusion in extensions.h.

13 years agomesa: Clean up header file inclusion in enable.h.
Vinson Lee [Mon, 8 Nov 2010 05:09:32 +0000 (21:09 -0800)]
mesa: Clean up header file inclusion in enable.h.

13 years agomesa: Clean up header file inclusion in drawtex.h.
Vinson Lee [Mon, 8 Nov 2010 05:05:01 +0000 (21:05 -0800)]
mesa: Clean up header file inclusion in drawtex.h.

13 years agomesa: Clean up header file inclusion in drawpix.h.
Vinson Lee [Mon, 8 Nov 2010 05:02:31 +0000 (21:02 -0800)]
mesa: Clean up header file inclusion in drawpix.h.

13 years agomesa: Clean up header file inclusion in depthstencil.h.
Vinson Lee [Mon, 8 Nov 2010 04:57:32 +0000 (20:57 -0800)]
mesa: Clean up header file inclusion in depthstencil.h.

13 years agomesa: Clean up header file inclusion in depth.h.
Vinson Lee [Mon, 8 Nov 2010 04:54:33 +0000 (20:54 -0800)]
mesa: Clean up header file inclusion in depth.h.

13 years agomesa: Clean up header file inclusion in debug.h.
Vinson Lee [Mon, 8 Nov 2010 04:47:10 +0000 (20:47 -0800)]
mesa: Clean up header file inclusion in debug.h.

13 years agomesa: Clean up header file inclusion in convolve.h.
Vinson Lee [Mon, 8 Nov 2010 04:39:54 +0000 (20:39 -0800)]
mesa: Clean up header file inclusion in convolve.h.

13 years agomesa: Clean up header file inclusion in colortab.h.
Vinson Lee [Mon, 8 Nov 2010 04:23:15 +0000 (20:23 -0800)]
mesa: Clean up header file inclusion in colortab.h.

13 years agomesa: Clean up header file inclusion in buffers.h.
Vinson Lee [Mon, 8 Nov 2010 04:00:32 +0000 (20:00 -0800)]
mesa: Clean up header file inclusion in buffers.h.

13 years agomesa: Clean up header file inclusion in blend.h.
Vinson Lee [Mon, 8 Nov 2010 03:54:00 +0000 (19:54 -0800)]
mesa: Clean up header file inclusion in blend.h.

13 years agomesa: Clean up header file inclusion in attrib.h.
Vinson Lee [Mon, 8 Nov 2010 03:49:12 +0000 (19:49 -0800)]
mesa: Clean up header file inclusion in attrib.h.

13 years agomesa: Clean up header file inclusion in atifragshader.h.
Vinson Lee [Mon, 8 Nov 2010 03:41:42 +0000 (19:41 -0800)]
mesa: Clean up header file inclusion in atifragshader.h.

13 years agomesa: make fixed-pt and byte-valued arrays a runtime feature
Brian Paul [Mon, 8 Nov 2010 01:35:35 +0000 (18:35 -0700)]
mesa: make fixed-pt and byte-valued arrays a runtime feature

These ES1 features were only tested for in the vertex array code.
Checking the ctx->API field at runtime is cleaner than the #ifdef
stuff and supports choosing the API at runtime.

13 years agomesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()
Brian Paul [Mon, 8 Nov 2010 01:33:53 +0000 (18:33 -0700)]
mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()

13 years agomesa: implement uint texstore code
Brian Paul [Mon, 8 Nov 2010 01:33:42 +0000 (18:33 -0700)]
mesa: implement uint texstore code

We used float temporary images before which could lose precision for
uint-valued texture images.

13 years agomesa: rename vars in pixel pack/unpack code
Brian Paul [Mon, 8 Nov 2010 01:33:20 +0000 (18:33 -0700)]
mesa: rename vars in pixel pack/unpack code

13 years agomesa: consolidate pixel packing/unpacking code
Brian Paul [Mon, 8 Nov 2010 01:33:07 +0000 (18:33 -0700)]
mesa: consolidate pixel packing/unpacking code

13 years agomesa: Clean up header file inclusion in arrayobj.h.
Vinson Lee [Sun, 7 Nov 2010 22:29:21 +0000 (14:29 -0800)]
mesa: Clean up header file inclusion in arrayobj.h.

13 years agor600g: Mention AMD in the renderer string.
Henri Verbeet [Sun, 7 Nov 2010 17:40:12 +0000 (18:40 +0100)]
r600g: Mention AMD in the renderer string.

13 years agomesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.
Vinson Lee [Sun, 7 Nov 2010 04:13:40 +0000 (21:13 -0700)]
mesa: Include mfeatures.h in api_validate.c for FEATURE_* symbols.

13 years agomesa: Include mfeatures.h in api_loopback for FEATURE_beginend.
Vinson Lee [Sun, 7 Nov 2010 04:05:16 +0000 (21:05 -0700)]
mesa: Include mfeatures.h in api_loopback for FEATURE_beginend.

13 years agomesa: Clean up header file inclusion in api_validate.h.
Vinson Lee [Sun, 7 Nov 2010 03:56:15 +0000 (20:56 -0700)]
mesa: Clean up header file inclusion in api_validate.h.

13 years agomesa: Clean up header file inclusion in api_loopback.h.
Vinson Lee [Sun, 7 Nov 2010 03:50:13 +0000 (20:50 -0700)]
mesa: Clean up header file inclusion in api_loopback.h.

13 years agomesa: Clean up header file inclusion in version.h.
Vinson Lee [Sun, 7 Nov 2010 03:40:13 +0000 (20:40 -0700)]
mesa: Clean up header file inclusion in version.h.

13 years agomesa: Clean up header file inclusion in accum.h.
Vinson Lee [Sun, 7 Nov 2010 03:27:45 +0000 (20:27 -0700)]
mesa: Clean up header file inclusion in accum.h.

13 years agomesa: Fix delayed state flagging for EXT_sso-related program changes.
Eric Anholt [Sat, 6 Nov 2010 18:43:45 +0000 (11:43 -0700)]
mesa: Fix delayed state flagging for EXT_sso-related program changes.

Flushing the vertices after having already updated the state doesn't
do any good.  Fixes useshaderprogram-flushverts-1.  As a side effect,
by moving it to the right place we end up skipping no-op state changes
for traditional glUseProgram.

13 years agometa: Don't try to disable cube maps if the driver doesn't expose the extension.
Francisco Jerez [Sat, 30 Oct 2010 14:32:00 +0000 (16:32 +0200)]
meta: Don't try to disable cube maps if the driver doesn't expose the extension.

Signed-off-by: Brian Paul <brianp@vmware.com>
13 years agovbo: Avoid unnecessary copy to/from current in vertex format upgrade.
Francisco Jerez [Sun, 31 Oct 2010 22:51:30 +0000 (23:51 +0100)]
vbo: Avoid unnecessary copy to/from current in vertex format upgrade.

Rebuilding the vertex format from scratch every time we see a new
vertex attribute is rather costly, new attributes can be appended at
the end avoiding a copy to current and then back again, and the full
attr pointer recalculation.

In the not so likely case of an already existing attribute having its
size increased the old behavior is preserved, this could be optimized
more, not sure if it's worth it.

It's a modest improvement in FlightGear (that game punishes the VBO
module pretty hard in general, framerate goes from some 46 FPS to 50
FPS with the nouveau classic driver).

Signed-off-by: Brian Paul <brianp@vmware.com>
13 years agoscons: Unify state tracker SConscripts
Jakob Bornecrantz [Fri, 5 Nov 2010 18:30:06 +0000 (18:30 +0000)]
scons: Unify state tracker SConscripts

13 years agoscons: Move dependancy checks to the main gallium scons file
Jakob Bornecrantz [Fri, 5 Nov 2010 18:18:09 +0000 (18:18 +0000)]
scons: Move dependancy checks to the main gallium scons file

13 years agoscons: Check for libdrm_[intel|radeon] as well
Jakob Bornecrantz [Fri, 5 Nov 2010 16:55:46 +0000 (16:55 +0000)]
scons: Check for libdrm_[intel|radeon] as well

And run SConscripts if they are present.
Also make dri depend on both drm and x11.

13 years agoscons: Check for pkg-config before trying to use it
Jakob Bornecrantz [Thu, 4 Nov 2010 20:47:13 +0000 (20:47 +0000)]
scons: Check for pkg-config before trying to use it

Silences warning about missing packages

13 years agoscons: Detabify
Jakob Bornecrantz [Thu, 4 Nov 2010 21:12:30 +0000 (21:12 +0000)]
scons: Detabify

Drivers scons files for a later time

13 years agoscons: Remove old pipebuffer SConscript
Jakob Bornecrantz [Fri, 5 Nov 2010 17:46:53 +0000 (17:46 +0000)]
scons: Remove old pipebuffer SConscript

13 years agosoftpipe: disable vertex texturing with draw/llvm
Brian Paul [Fri, 5 Nov 2010 20:40:33 +0000 (14:40 -0600)]
softpipe: disable vertex texturing with draw/llvm

This is a temporary work around to prevent crashes with glean/glsl1
(for example) which try to do vertex shader texturing.

13 years agogallivm: add const qualifiers, fix comment string
Brian Paul [Fri, 5 Nov 2010 14:51:53 +0000 (08:51 -0600)]
gallivm: add const qualifiers, fix comment string

13 years agogallivm: alloca() was called too often for temporary arrays
Brian Paul [Fri, 5 Nov 2010 14:49:53 +0000 (08:49 -0600)]
gallivm: alloca() was called too often for temporary arrays

Need to increment the array index to point to the last value.
Before, we were calling lp_build_array_alloca() over and over for
no reason.

13 years agoi965: Silence uninitialized variable warning.
Vinson Lee [Fri, 5 Nov 2010 00:42:00 +0000 (17:42 -0700)]
i965: Silence uninitialized variable warning.

Silences this GCC warning.
brw_wm_fp.c: In function 'brw_wm_pass_fp':
brw_wm_fp.c:966: warning: 'last_inst' may be used uninitialized in this function
brw_wm_fp.c:966: note: 'last_inst' was declared here

13 years agoi965: Silence uninitialized variable warning.
Vinson Lee [Fri, 5 Nov 2010 00:39:17 +0000 (17:39 -0700)]
i965: Silence uninitialized variable warning.

Silences this GCC warning.
brw_wm_fp.c: In function 'precalc_tex':
brw_wm_fp.c:666: warning: 'tmpcoord.Index' may be used uninitialized in this function

13 years agor300/compiler: Move declaration before code.
Vinson Lee [Fri, 5 Nov 2010 00:25:16 +0000 (17:25 -0700)]
r300/compiler: Move declaration before code.

Fixes this GCC warning with linux-x86 build.
radeon_dataflow.c: In function 'get_readers_normal_read_callback':
radeon_dataflow.c:472: warning: ISO C90 forbids mixed declarations and code

13 years agollvmpipe: added some debug assertions, but disabled
Brian Paul [Thu, 4 Nov 2010 23:52:49 +0000 (17:52 -0600)]
llvmpipe: added some debug assertions, but disabled

13 years agor300/compiler: Move declaration before code.
Vinson Lee [Fri, 5 Nov 2010 00:18:46 +0000 (17:18 -0700)]
r300/compiler: Move declaration before code.

Fixes this GCC warning with linux-x86 build.
radeon_pair_schedule.c: In function 'merge_presub_sources':
radeon_pair_schedule.c:312: warning: ISO C90 forbids mixed declarations and code

13 years agometa: Fix incorrect rendering of the bitmap alpha component.
Francisco Jerez [Tue, 2 Nov 2010 01:49:48 +0000 (02:49 +0100)]
meta: Fix incorrect rendering of the bitmap alpha component.

Signed-off-by: Brian Paul <brianp@vmware.com>
13 years agometa: Don't leak alpha function/reference value changes.
Francisco Jerez [Tue, 2 Nov 2010 02:06:30 +0000 (19:06 -0700)]
meta: Don't leak alpha function/reference value changes.

Signed-off-by: Brian Paul <brianp@vmware.com>
13 years agotgsi: remove unused function
Brian Paul [Thu, 4 Nov 2010 19:35:20 +0000 (13:35 -0600)]
tgsi: remove unused function

13 years agost/mesa: Reset the constant buffers before destroying the pipe context.
Tilman Sauerbeck [Tue, 2 Nov 2010 21:15:15 +0000 (22:15 +0100)]
st/mesa: Reset the constant buffers before destroying the pipe context.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
13 years agogallivm: implement execution mask for scatter stores
Brian Paul [Thu, 4 Nov 2010 16:01:28 +0000 (10:01 -0600)]
gallivm: implement execution mask for scatter stores

13 years agogallivm: added lp_elem_type()
Brian Paul [Thu, 4 Nov 2010 16:00:58 +0000 (10:00 -0600)]
gallivm: added lp_elem_type()

13 years agogallivm: add pixel offsets in scatter stores
Brian Paul [Thu, 4 Nov 2010 15:31:56 +0000 (09:31 -0600)]
gallivm: add pixel offsets in scatter stores

We want to do the scatter store to sequential locations in memory
for the vector of pixels we're processing in SOA format.

13 years agogallivm: added debug code to dump temp registers
Brian Paul [Thu, 4 Nov 2010 15:28:06 +0000 (09:28 -0600)]
gallivm: added debug code to dump temp registers

13 years agograw/gdi: Fix window dimensions.
Michal Krol [Thu, 4 Nov 2010 14:12:47 +0000 (15:12 +0100)]
graw/gdi: Fix window dimensions.

The requested window size is of the client area,
so account for surrounding borders and bars when
creating the window.

13 years agoscons: Hook-up graw-gdi target.
Michal Krol [Thu, 4 Nov 2010 13:33:31 +0000 (14:33 +0100)]
scons: Hook-up graw-gdi target.

13 years agograw/gdi: Initial commit.
Michal Krol [Thu, 4 Nov 2010 13:33:11 +0000 (14:33 +0100)]
graw/gdi: Initial commit.

13 years agor300g: Do not use buf param before checking for NULL.
Guillermo S. Romero [Wed, 3 Nov 2010 21:14:00 +0000 (22:14 +0100)]
r300g: Do not use buf param before checking for NULL.

Commit 8dfafbf0861fe3d2542332658dd5493851053c78 forgot to update r300g.
There is a buf == NULL check, but buf is used before for var init.

Tested-by: Guillermo S. Romero <gsromero@infernal-iceberg.com>
13 years agotgsi/build: Reduce interface clutter.
Michal Krol [Thu, 4 Nov 2010 11:20:14 +0000 (12:20 +0100)]
tgsi/build: Reduce interface clutter.

Make private those functions that are used internally only.

13 years agotgsi/exec: Get rid of obsolete condition codes.
Michal Krol [Thu, 4 Nov 2010 10:51:10 +0000 (11:51 +0100)]
tgsi/exec: Get rid of obsolete condition codes.

13 years agotgsi/exec: Cleanup the remaining arithmetic instructions.
Michal Krol [Thu, 4 Nov 2010 10:37:24 +0000 (11:37 +0100)]
tgsi/exec: Cleanup the remaining arithmetic instructions.

As a result remove some nasty macros.

13 years agodri/nouveau: Silence uninitialized variable warning.
Vinson Lee [Thu, 4 Nov 2010 01:13:14 +0000 (18:13 -0700)]
dri/nouveau: Silence uninitialized variable warning.

Fixes this GCC warning.
nouveau_vbo_t.c: In function 'nv10_vbo_render_prims':
nouveau_render_t.c:161: warning: 'max_out' may be used uninitialized in this function
nouveau_render_t.c:161: note: 'max_out' was declared here

13 years agogallivm: add some LLVM var labels
Brian Paul [Wed, 3 Nov 2010 23:32:21 +0000 (17:32 -0600)]
gallivm: add some LLVM var labels