mesa.git
16 years ago[intel] intel_bufmgr_ttm style sanity
Eric Anholt [Fri, 30 Nov 2007 22:14:11 +0000 (14:14 -0800)]
[intel] intel_bufmgr_ttm style sanity

16 years agofix-build: remove ctx->_Facing assignment
Brian [Fri, 30 Nov 2007 22:52:27 +0000 (15:52 -0700)]
fix-build: remove ctx->_Facing assignment

16 years agofix broken two-sided stencil
Brian [Fri, 30 Nov 2007 20:01:57 +0000 (13:01 -0700)]
fix broken two-sided stencil

16 years agobetter front-plane clip test
Brian [Fri, 30 Nov 2007 16:07:39 +0000 (09:07 -0700)]
better front-plane clip test

16 years agoUpdates of some OpenVMS makefiles.
joukj [Fri, 30 Nov 2007 12:16:05 +0000 (13:16 +0100)]
Updates of some OpenVMS makefiles.

16 years agoMerge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa
joukj [Fri, 30 Nov 2007 10:12:41 +0000 (11:12 +0100)]
Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa

16 years agoi965: if source depth to render target is set,
Xiang, Haihao [Fri, 30 Nov 2007 04:04:04 +0000 (12:04 +0800)]
i965: if source depth to render target is set,
it should be handled in fb_write.

16 years agoi965: use uncompressed instruction to ensure only
Xiang, Haihao [Fri, 30 Nov 2007 03:50:08 +0000 (11:50 +0800)]
i965: use uncompressed instruction to ensure only
Pixel Mask Copy is modified as the pixel shader thread
turns off pixels based on kill instructions.

16 years ago[i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake.
Eric Anholt [Thu, 29 Nov 2007 21:00:34 +0000 (13:00 -0800)]
[i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake.

16 years agoNew ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c
Brian [Thu, 29 Nov 2007 15:12:33 +0000 (08:12 -0700)]
New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c

16 years agocleanups, comments
Brian [Wed, 28 Nov 2007 22:55:57 +0000 (15:55 -0700)]
cleanups, comments

16 years agoMove _mesa_load_tracked_matrices() from TNL module to prog_statevars.c
Brian [Wed, 28 Nov 2007 22:19:46 +0000 (15:19 -0700)]
Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c

16 years agor200: Fix texture format regression on big endian systems.
Michel Dänzer [Wed, 28 Nov 2007 09:20:04 +0000 (10:20 +0100)]
r200: Fix texture format regression on big endian systems.

See https://bugs.freedesktop.org/show_bug.cgi?id=13324 .

Also use tx_table_be for VALID_FORMAT, in case r200SetTexImages ever gets
called for MESA_FORMAT_RGB888.

16 years agoi965: update RefCount when using Vertex/Fragment program.
Xiang, Haihao [Wed, 28 Nov 2007 01:46:43 +0000 (09:46 +0800)]
i965: update RefCount when using Vertex/Fragment program.
It makes quake4-demo works well on 965.

16 years agoremove drawable from hash table when window is deleted (see bug 13091)
WuNian [Wed, 28 Nov 2007 01:22:42 +0000 (18:22 -0700)]
remove drawable from hash table when window is deleted (see bug 13091)

16 years agouse DEFAULT_SOFTWARE_DEPTH_BITS
Delle [Wed, 28 Nov 2007 01:18:25 +0000 (18:18 -0700)]
use DEFAULT_SOFTWARE_DEPTH_BITS

16 years agominor additions to avoid FAQs
Brian [Tue, 27 Nov 2007 17:31:05 +0000 (10:31 -0700)]
minor additions to avoid FAQs

16 years agodocument GLSL float f/F suffix bug
Brian [Tue, 27 Nov 2007 17:27:55 +0000 (10:27 -0700)]
document GLSL float f/F suffix bug

16 years agoset fp->UsesKill when emitting OPCODE_KIL
Brian [Tue, 27 Nov 2007 17:16:51 +0000 (10:16 -0700)]
set fp->UsesKill when emitting OPCODE_KIL

16 years agoadd a few more logicop modes, simplify code
Brian [Mon, 26 Nov 2007 18:39:17 +0000 (11:39 -0700)]
add a few more logicop modes, simplify code

16 years agoimprove 24-bit Z to 32-bit Z conversion
Brian [Mon, 26 Nov 2007 16:35:39 +0000 (09:35 -0700)]
improve 24-bit Z to 32-bit Z conversion

16 years agoi965: The jump instruction count is added
Xiang, Haihao [Tue, 27 Nov 2007 01:45:32 +0000 (09:45 +0800)]
i965: The jump instruction count is added
to IP pre-increment, and should point to
the first instruction after the do instruction
of the do-while block of code

16 years agoi915: Catch cases where not all state is emitted for a new batchbuffer.
Keith Whitwell [Thu, 15 Nov 2007 09:59:33 +0000 (09:59 +0000)]
i915: Catch cases where not all state is emitted for a new batchbuffer.

This could lead to incorrect rendering or even lockups.

16 years agoi915: Some additional blit fixes and assertions.
Michel Dänzer [Fri, 9 Nov 2007 17:46:55 +0000 (18:46 +0100)]
i915: Some additional blit fixes and assertions.

16 years agolibGL: Make sure a valid value is returned for GLX_BIND_TO_MIPMAP_TEXTURE_EXT.
Michel Dänzer [Sun, 25 Nov 2007 13:20:36 +0000 (14:20 +0100)]
libGL: Make sure a valid value is returned for GLX_BIND_TO_MIPMAP_TEXTURE_EXT.

If the server didn't send a value, assume it's not supported.

A more generic solution might be better for this kind of problem, but an
attempt for this failed (see https://bugs.freedesktop.org/show_bug.cgi?id=9264)
and this allows compiz to work with drivers that support
GL_EXT_framebuffer_object.

16 years agointel: Fix relative symlinks.
Michel Dänzer [Sun, 25 Nov 2007 13:17:02 +0000 (14:17 +0100)]
intel: Fix relative symlinks.

16 years agobetter test of point attenuation
Brian [Fri, 23 Nov 2007 23:19:25 +0000 (16:19 -0700)]
better test of point attenuation

16 years ago#define GL_GLEXT_PROTOTYPES to silence warning
Brian [Fri, 23 Nov 2007 21:35:46 +0000 (14:35 -0700)]
#define GL_GLEXT_PROTOTYPES to silence warning

16 years agoConsolidate texture fetch code and use partial derivatives when possible.
Brian [Fri, 23 Nov 2007 19:01:57 +0000 (12:01 -0700)]
Consolidate texture fetch code and use partial derivatives when possible.

16 years agoFix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable array...
Brian [Fri, 23 Nov 2007 17:25:48 +0000 (10:25 -0700)]
Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable array indexes.

16 years agoneed to check border width in sample_linear_2d() - fixes failed assertion in texwrap...
Brian [Fri, 23 Nov 2007 16:14:39 +0000 (09:14 -0700)]
need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test

16 years agoConsolidate point size computation, clamping in get_size().
Brian [Thu, 22 Nov 2007 16:31:16 +0000 (09:31 -0700)]
Consolidate point size computation, clamping in get_size().

Also, apply user-defined clamp limits to point size even when not using
attentuation or program-computed size.

16 years agoPrint point/line size range limits
Brian [Thu, 22 Nov 2007 16:29:38 +0000 (09:29 -0700)]
Print point/line size range limits

16 years agofix z buffer read/write issue with rv100-like chips and old ddx
Roland Scheidegger [Thu, 22 Nov 2007 01:49:11 +0000 (02:49 +0100)]
fix z buffer read/write issue with rv100-like chips and old ddx

16 years ago[965] Replace 965 texture format code with common code.
Eric Anholt [Mon, 5 Nov 2007 22:55:52 +0000 (14:55 -0800)]
[965] Replace 965 texture format code with common code.

The only functional difference should be that 965 now gets the optimization
where textures default to 16bpp when the screen is 16bpp.

16 years ago[965] Remove dead exec vfmt code which was replaced by generic vbo code.
Eric Anholt [Fri, 9 Nov 2007 19:45:25 +0000 (11:45 -0800)]
[965] Remove dead exec vfmt code which was replaced by generic vbo code.

16 years agoclamp lambda to Min/MaxLod
Brian [Mon, 19 Nov 2007 20:05:00 +0000 (13:05 -0700)]
clamp lambda to Min/MaxLod

16 years ago[965] Add INTEL_DEBUG=fall debugging output.
Eric Anholt [Mon, 19 Nov 2007 22:37:14 +0000 (14:37 -0800)]
[965] Add INTEL_DEBUG=fall debugging output.

16 years ago[965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.
Eric Anholt [Mon, 19 Nov 2007 23:26:14 +0000 (15:26 -0800)]
[965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.

16 years agofix some texture format assertions, etc
Brian [Mon, 19 Nov 2007 17:37:54 +0000 (10:37 -0700)]
fix some texture format assertions, etc

16 years agofix out-of-bounds array index (ix=-1)
Brian [Mon, 19 Nov 2007 16:55:17 +0000 (09:55 -0700)]
fix out-of-bounds array index (ix=-1)

16 years ago[intel] Add 965 support to shared intel_blit.c
Eric Anholt [Sat, 17 Nov 2007 00:43:45 +0000 (16:43 -0800)]
[intel] Add 965 support to shared intel_blit.c

This requires that regions grow a marker of whether they are tiled or not,
because fence (surface) registers are ignored by the 965 2D engine.

16 years ago[i915] Pass static region names in so debugging says more than "static region".
Eric Anholt [Sat, 17 Nov 2007 00:14:42 +0000 (16:14 -0800)]
[i915] Pass static region names in so debugging says more than "static region".

16 years ago[intel] Move additional code to be shared from intel_context.h to intel/.
Eric Anholt [Sat, 17 Nov 2007 00:05:11 +0000 (16:05 -0800)]
[intel] Move additional code to be shared from intel_context.h to intel/.

16 years ago[intel] Move intel_tex.h into place, forgotten in the previous commit.
Eric Anholt [Fri, 16 Nov 2007 23:51:34 +0000 (15:51 -0800)]
[intel] Move intel_tex.h into place, forgotten in the previous commit.

16 years ago[965] Add batchbuffer decode for several more packets.
Eric Anholt [Thu, 25 Oct 2007 22:37:13 +0000 (15:37 -0700)]
[965] Add batchbuffer decode for several more packets.

16 years ago[intel] Fix typos in intel_chipset.h macros.
Eric Anholt [Fri, 16 Nov 2007 23:01:48 +0000 (15:01 -0800)]
[intel] Fix typos in intel_chipset.h macros.

16 years ago[i915] Add INTEL_DEBUG=sync debug flag to wait for fences after making them.
Eric Anholt [Fri, 16 Nov 2007 22:56:26 +0000 (14:56 -0800)]
[i915] Add INTEL_DEBUG=sync debug flag to wait for fences after making them.

16 years ago[i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.
Eric Anholt [Thu, 25 Oct 2007 18:31:15 +0000 (11:31 -0700)]
[i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.

16 years ago[intel] Add some doxygen notes on what the bufmgr_fake block members mean.
Eric Anholt [Thu, 15 Nov 2007 22:00:17 +0000 (14:00 -0800)]
[intel] Add some doxygen notes on what the bufmgr_fake block members mean.

16 years ago[intel] Add a simple relocation cache to the fake buffer manager.
Eric Anholt [Fri, 16 Nov 2007 22:45:26 +0000 (14:45 -0800)]
[intel] Add a simple relocation cache to the fake buffer manager.

This is required for 965 performance, as it avoids a lot of repeated data
uploads of the state caches due to surface offsets in them.

16 years ago[intel] Assert against 0-sized buffers in dri_bufmgr_fake.c.
Eric Anholt [Fri, 16 Nov 2007 22:38:09 +0000 (14:38 -0800)]
[intel] Assert against 0-sized buffers in dri_bufmgr_fake.c.

They shouldn't be created, and this often helps catch stupid issues.

16 years ago[intel] Add support for multiple levels of relocation in bufmgr_fake.
Eric Anholt [Fri, 16 Nov 2007 22:20:24 +0000 (14:20 -0800)]
[intel] Add support for multiple levels of relocation in bufmgr_fake.

This is required for 965 support, which has relocations in other places than
just the batchbuffer.

16 years ago[i915] Push locking in intelClearWithTris down inside meta_draw_poly.
Eric Anholt [Sat, 10 Nov 2007 00:43:21 +0000 (16:43 -0800)]
[i915] Push locking in intelClearWithTris down inside meta_draw_poly.

The lock coverage and checks for cliprects were unneeded since the batchbuffer
will have INTEL_BATCH_CLIPRECTS anyway.  It appeared to be a leftover from
intelClearWithBlit.

This makes the locking requirements of i915 meta_draw_quad match i965
meta_draw_quad.

16 years agoadded z/s keys to reset/step rotation
Brian [Fri, 16 Nov 2007 22:18:30 +0000 (15:18 -0700)]
added z/s keys to reset/step rotation

16 years agoOnly emit texcoords for enabled units. Enable/disable units with 0..7 keys.
Brian [Fri, 16 Nov 2007 22:17:37 +0000 (15:17 -0700)]
Only emit texcoords for enabled units. Enable/disable units with 0..7 keys.

Also, asst. clean-ups.

16 years agofix bogus assumption if ddx has set up surface reg for z buffer
Roland Scheidegger [Thu, 15 Nov 2007 00:13:16 +0000 (01:13 +0100)]
fix bogus assumption if ddx has set up surface reg for z buffer

this is wrong since even if ddx has not set up a surface reg to cover the z
buffer we should pretend it has on those rv100 chips since they presumably do
not do z buffer tiling if not using hyperz, so we can use linear addressing
just the same. Doesn't seem to fix #13080, but it's wrong anyway and the bug
almost certainly broke newer non-tcl chips.

16 years agofix position invariant vertex programs for sw-tnl
Roland Scheidegger [Wed, 14 Nov 2007 23:52:38 +0000 (00:52 +0100)]
fix position invariant vertex programs for sw-tnl

do the same math as for fixed function pipe, including
user clip planes.
(mostly resurrected from the dead t_vb_arbprogram.c code)

16 years agoremove dependency on libGLU
Brian [Mon, 12 Nov 2007 15:02:09 +0000 (08:02 -0700)]
remove dependency on libGLU

16 years agoadd glw.pc.in to tarball list, remove from DEPEND_FILES
Brian [Mon, 12 Nov 2007 14:51:28 +0000 (07:51 -0700)]
add glw.pc.in to tarball list, remove from DEPEND_FILES

16 years agoi965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730
Xiang, Haihao [Mon, 12 Nov 2007 02:20:26 +0000 (10:20 +0800)]
i965: correct the opcode of XY_SETUP_BLT_CMD. fix bug #12730

17 years agotest that point/line/quad rendering hits the right pixels
Brian [Sat, 10 Nov 2007 00:02:12 +0000 (17:02 -0700)]
test that point/line/quad rendering hits the right pixels

17 years ago[i915] Remove old frontbuffer rotation hack.
Eric Anholt [Fri, 9 Nov 2007 23:05:56 +0000 (15:05 -0800)]
[i915] Remove old frontbuffer rotation hack.

This was replaced in previous releases of xserver/dri/libGL by reporting the
damage to the frontbuffer so that the server and driver could handle it
appropriately.

17 years ago[intel] By default, output batchbuffer decode to stderr like other debug info.
Eric Anholt [Wed, 7 Nov 2007 00:07:10 +0000 (16:07 -0800)]
[intel] By default, output batchbuffer decode to stderr like other debug info.

17 years ago[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.
Eric Anholt [Thu, 8 Nov 2007 22:49:37 +0000 (14:49 -0800)]
[intel] Initialize a depth buffer if the visual has depth 24 but no stencil.

17 years ago[intel] Move over files that will be shared with 965-fbo work.
Eric Anholt [Wed, 7 Nov 2007 18:04:59 +0000 (10:04 -0800)]
[intel] Move over files that will be shared with 965-fbo work.

17 years agocheck for texture and renderbuffer in check_end_texture_render()
Brian [Fri, 9 Nov 2007 15:55:49 +0000 (08:55 -0700)]
check for texture and renderbuffer in check_end_texture_render()

17 years agocode clean-ups, reformatting
Benno Schulenberg [Fri, 9 Nov 2007 15:54:21 +0000 (08:54 -0700)]
code clean-ups, reformatting

17 years agoremove commented-out code
Benno Schulenberg [Fri, 9 Nov 2007 15:54:16 +0000 (08:54 -0700)]
remove commented-out code

17 years agorecreate from changed gl_API.xml
Roland Scheidegger [Fri, 9 Nov 2007 13:49:01 +0000 (14:49 +0100)]
recreate from changed gl_API.xml

17 years agoalias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)
Roland Scheidegger [Fri, 9 Nov 2007 13:46:59 +0000 (14:46 +0100)]
alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)

these should be the same functions (as per spec).

17 years agoPrevent loss of vectorequiv information when an alias follows the function being...
Ian Romanick [Fri, 9 Nov 2007 01:45:34 +0000 (17:45 -0800)]
Prevent loss of vectorequiv information when an alias follows the function being aliased.

17 years agofix Unichrome/Blender crash, bug 13142
Benno Schulenberg [Thu, 8 Nov 2007 14:34:20 +0000 (07:34 -0700)]
fix Unichrome/Blender crash, bug 13142

17 years agoFix compilation for !GLX_DIRECT_RENDERING.
Kristian Høgsberg [Tue, 6 Nov 2007 19:34:15 +0000 (14:34 -0500)]
Fix compilation for !GLX_DIRECT_RENDERING.

17 years agoRemove a couple of "deprecated" fields from __GLXcontextRec.
Kristian Høgsberg [Tue, 6 Nov 2007 18:32:04 +0000 (13:32 -0500)]
Remove a couple of "deprecated" fields from __GLXcontextRec.

The __GLXcontextRec struct is internal to the libGL implementation.  No point
in "deprecating", just get rid of it.

17 years agoDon't return 0 in a void function.
Kristian Høgsberg [Tue, 6 Nov 2007 16:56:24 +0000 (11:56 -0500)]
Don't return 0 in a void function.

17 years agor200: Re-expose SetTexOffset functionality.
Michel Dänzer [Tue, 6 Nov 2007 17:24:46 +0000 (18:24 +0100)]
r200: Re-expose SetTexOffset functionality.

This seems to have been mismerged with the DRI interface changes.

17 years agor200: Fix SetTexOffset format for 16 bit pixmaps/textures.
Michel Dänzer [Tue, 6 Nov 2007 17:22:42 +0000 (18:22 +0100)]
r200: Fix SetTexOffset format for 16 bit pixmaps/textures.

Use symbolic array indices to clarify.

17 years agoPass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
Kristian Høgsberg [Tue, 6 Nov 2007 16:22:59 +0000 (11:22 -0500)]
Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.

17 years agoRenamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.
Oliver McFadden [Mon, 5 Nov 2007 22:05:16 +0000 (22:05 +0000)]
Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.

17 years agor300: initial user clipping for TCL paths
Dave Airlie [Sun, 4 Nov 2007 04:02:55 +0000 (15:02 +1100)]
r300: initial user clipping for TCL paths

I've no idea if this code might break something or how it should interact
with vertex shaders, it makes the clip demo work for me

17 years agoLookup visual in visual list, not fbconfig list.
Kristian Høgsberg [Mon, 5 Nov 2007 22:02:03 +0000 (17:02 -0500)]
Lookup visual in visual list, not fbconfig list.

Also, handle visual not found error case by throwing X error.

17 years agoFilter both visuals and fbconfigs against driver supported configs.
Kristian Høgsberg [Mon, 5 Nov 2007 20:42:55 +0000 (15:42 -0500)]
Filter both visuals and fbconfigs against driver supported configs.

17 years agoCheck for NULL VB->EdgeFlag array.
Brian [Mon, 5 Nov 2007 21:41:18 +0000 (14:41 -0700)]
Check for NULL VB->EdgeFlag array.

There might be a bug elsewhere, but this is a simple work-around for now.
See bug 12614

17 years agofix mmx code (bug 12614)
Brian [Mon, 5 Nov 2007 21:38:27 +0000 (14:38 -0700)]
fix mmx code (bug 12614)

17 years agoFix GLX build of xserver master branch.
Michel Dänzer [Mon, 5 Nov 2007 09:03:26 +0000 (10:03 +0100)]
Fix GLX build of xserver master branch.

The internal CreatePixmap API has been extended.

17 years agoFix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exe...
Brian [Sat, 3 Nov 2007 14:50:55 +0000 (08:50 -0600)]
Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if _mesa_exec_malloc() returns NULL.

(picked from mesa_7_0_branch)

17 years agofix typo
Brian [Sat, 3 Nov 2007 14:46:59 +0000 (08:46 -0600)]
fix typo

17 years agor300: move more vap registers out of non tcl paths
Dave Airlie [Sat, 3 Nov 2007 08:35:39 +0000 (19:35 +1100)]
r300: move more vap registers out of non tcl paths

17 years agor300: fix misnumber register
Dave Airlie [Sat, 3 Nov 2007 08:20:22 +0000 (19:20 +1100)]
r300: fix misnumber register

17 years agor300: fix texwrap border color
Dave Airlie [Sat, 3 Nov 2007 07:58:46 +0000 (18:58 +1100)]
r300: fix texwrap border color

17 years agoremove dead code in _mesa_new_program()
Brian [Thu, 1 Nov 2007 14:00:45 +0000 (08:00 -0600)]
remove dead code in _mesa_new_program()

17 years agoAdd -fno-strict-aliasing workaround for all GCC targets
Dan Nicholson [Thu, 1 Nov 2007 13:01:53 +0000 (06:01 -0700)]
Add -fno-strict-aliasing workaround for all GCC targets

Use a GCC option to work around aliasing bugs. See commit 013dbcd for
more details.

17 years agonouveau: ppc, swap fragment programs on big endian systems.
Dave Airlie [Thu, 1 Nov 2007 08:19:45 +0000 (19:19 +1100)]
nouveau: ppc, swap fragment programs on big endian systems.

Thanks to the PS3 RSX project for figuring this out.

17 years agoi915: make i915 use the cached mappings for batch/buffer objects.
Dave Airlie [Wed, 31 Oct 2007 23:41:27 +0000 (10:41 +1100)]
i915: make i915 use the cached mappings for batch/buffer objects.

This should restore gears speed on 9xx hardware

17 years agoconfigs: Set -fexceptions for GLUT on linux-dri like other targets
Dan Nicholson [Wed, 31 Oct 2007 23:18:29 +0000 (16:18 -0700)]
configs: Set -fexceptions for GLUT on linux-dri like other targets

Quite a while ago, the GCC option -fexceptions was added for building
libglut. See here:

  http://article.gmane.org/gmane.comp.video.mesa3d.devel/9499

This was missing in the linux-dri targets.

17 years agoconfdiff.sh: A testing script for comparing configs settings
Dan Nicholson [Wed, 24 Oct 2007 01:17:16 +0000 (18:17 -0700)]
confdiff.sh: A testing script for comparing configs settings

This is a simple script that compares the make variables set by two
different configs stubs. The purpose is to highlight differences so
that any unnecessary duplication or divergence can be removed.

For example, on Linux x86:
    $ ./bin/confdiff.sh linux linux-x86

The output isn't very clean, but it should highlight that the only
difference is that the x86 target uses x86 assembler sources.

The script uses bash, mktemp, make, sed and diff. It is probably not
very portable and might only work on GNU make.

17 years agoconfigs: Always use -fPIC for shared libraries, never for static
Dan Nicholson [Wed, 31 Oct 2007 17:33:20 +0000 (10:33 -0700)]
configs: Always use -fPIC for shared libraries, never for static

Mesa currently disables -fPIC for DRI on x86, but most Linux distros are
re-enabling -fPIC for all DRI arches. Let's just do that here since
that's normally what's wanted for shared libraries. Some justification:

http://bugs.gentoo.org/show_bug.cgi?id=110840#c9

On the other hand, position-independent code is only necessary when
building shared libraries, so disable it for the static cases.

17 years agoAdd -fno-strict-aliasing workaround for Linux GCC targets
Dan Nicholson [Wed, 31 Oct 2007 16:47:39 +0000 (09:47 -0700)]
Add -fno-strict-aliasing workaround for Linux GCC targets

Most Linux distros work around aliasing problems in Mesa by compiling
with the GCC option -fno-strict-aliasing. Two examples:

  https://bugs.freedesktop.org/show_bug.cgi?id=6046
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311

This makes -fno-strict-aliasing the default with a comment that
developers should consider commenting it out. There is a already a note
about these bugs in docs/helpwanted.html.

17 years agoGLSL support in i965 driver
Brian [Wed, 31 Oct 2007 15:57:07 +0000 (09:57 -0600)]
GLSL support in i965 driver