Commit graph

6988 commits

Author SHA1 Message Date
Vinson Lee
8df7e20788 os: Do not use Pthreads barrier functions on Mac OS X.
Pthreads barrier functions are not available on some POSIX platforms.
2010-02-10 18:12:10 -08:00
Brian Paul
4b1241bf76 gallium: cast to silence waring 2010-02-10 16:44:05 -07:00
Brian Paul
f6bcce0308 gallium: use os_time.h 2010-02-10 16:43:50 -07:00
Brian Paul
bcace317c7 gallium: use os_time.h in pb_bufmgr_cache.c
Untested, but seems straightforward.
2010-02-10 16:41:43 -07:00
Brian Paul
43ba0d7451 gallium: use os_time.h in u_timed_winsys.c 2010-02-10 16:37:18 -07:00
Corbin Simpson
412ffb7a3a r300g: Fix typo.
Thanks to Uros Bizjak for catching it.
2010-02-10 12:35:39 -08:00
José Fonseca
b44c444a0f llvmpipe: Map rendertargets when bound as textures.
Fixes gearbox segfault (fdo 25960). Corruption remains.
2010-02-10 20:12:44 +00:00
Ian Romanick
3cce4a1e10 dri: Allow selective generation of accum. buffer configs
Modify the interface to driCreateConfigs allowing drivers to not
expose configs with an accumuation buffer.  All of the drivers calling
function have been updated to pass true for the accumulation
selector.  This maintains the current behavior.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-10 10:50:28 -08:00
Zack Rusin
f88b43e8d0 st/xorg: fix a silly offset bug in xv
we were multiplying the difference in the wrong direction.
2010-02-10 09:26:54 -05:00
José Fonseca
ba33fed610 llvmpipe: Fix null pointer dereference when no depth buffer is bound. 2010-02-10 11:25:26 +00:00
José Fonseca
5e6a900510 llvmpipe: Leave depth buffer in swizzled format.
This fixes several assertion failures due to only Z32 being supported.
2010-02-10 11:01:26 +00:00
Vinson Lee
58c991a640 llvmpipe: Remove unnecessary headers. 2010-02-10 00:35:48 -08:00
Francisco Jerez
96100f39be Drop incorrectly revived files during the 'gallium-nopointsizeminmax' merge. 2010-02-10 00:43:43 +01:00
Corbin Simpson
dbc1340191 r300g: One less assert.
This entire codepath needs to be cleaned to be more pliant towards
shader failure.
2010-02-09 13:58:53 -08:00
Corbin Simpson
8c85002951 r300g: Don't write non-existent bit on non-r500.
Might help with compiz being funky with MRTs.
2010-02-09 13:53:30 -08:00
Corbin Simpson
67b60b9934 r300g: Correct colorbuffer measurements.
Also clarify changes from pointminmax.
2010-02-09 13:50:54 -08:00
Corbin Simpson
5a27a77d00 r300g: Be ever-so-slightly more useful on bad shaders. 2010-02-09 13:50:38 -08:00
Kristian Høgsberg
debf00e5fc dri_interface: Introduce DRI tokens for the texBuffer texture formats
This used to take GLX tokens, but the DRI interface can't depend on GLX
defines.  We fix this by introducing DRI tokens that have the same value
as the GLX texture format tokens.
2010-02-09 15:55:25 -05:00
Brian Paul
ed46e90f05 gallium/auxiliary: add -D__STDC_CONSTANT_MACROS
Not sure why this is needed now, after the gallivm re-org.
2010-02-09 13:10:07 -07:00
Brian Paul
822d951b5d llvmpipe: remove .s rule (already in Makefile.template) 2010-02-09 13:08:23 -07:00
Brian Paul
aa4ed6a0e6 llvmpipe: lp_tile_surface.c isn't committed yet 2010-02-09 13:07:58 -07:00
Roland Scheidegger
653a83445f Merge branch 'gallium-nopointsizeminmax'
Conflicts:
	src/gallium/drivers/nv10/nv10_state.c
	src/gallium/drivers/nv20/nv20_state.c
	src/gallium/drivers/nv50/nv50_program.c
2010-02-09 19:32:21 +01:00
Chris Li
a8f4904fb3 gallium: Adding the %.s rule to generate asm code
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
Chris Li
62d1e40e0d gallium: Using the proper pattern rules for Makefile template.
The .o.c rule is consider obsolete.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:30 +00:00
Chris Li
8b6ec94aec llvmpipe: Make llvm unit test depend on libllvmpipe.a
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-09 17:19:29 +00:00
Jakob Bornecrantz
6ef1d60407 vmware/core: Support drm interface version 1.0.0 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz
6a4cd124af vmware/core: Use correct flags in scanout code 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz
6ffb6318a0 vmware/core: Handle new scanout field 2010-02-06 03:36:47 +01:00
Jakob Bornecrantz
a9d61c286d vmware/core: Update header to latest version 2010-02-06 03:36:46 +01:00
Jakob Bornecrantz
7afcfa0683 vmware/core: Remove old ioctl structs not used
Leftover that was never used in this driver
2010-02-06 03:36:46 +01:00
Michal Krol
72fa4ef649 llvmpipe: Remove reference to prefilter field. 2010-02-09 16:27:16 +01:00
Kristian Høgsberg
6e8897ff9f Retire miniglx and move the actual glx code up to src/glx 2010-02-09 09:58:36 -05:00
Brian Paul
a1a441179b fix bug in perspective corrected interpolants for lines 2010-02-09 15:33:06 +01:00
Michal Krol
5fbb62f761 softpipe: Properly implement cylindrical wrapping. 2010-02-09 15:32:53 +01:00
Michal Krol
00bd85e574 Revert "softpipe: Implement cylindrical wrapping for linear interpolator."
This reverts commit 444cd62ca33a45bd39e8408979a0a01c246c6381.
2010-02-09 15:32:50 +01:00
Michal Krol
9a8473da83 gallium: Remove prefilter member from pipe_sampler_state struct. 2010-02-09 15:32:36 +01:00
Michal Krol
63d6097910 docs: Document TGSI Declaration token. 2010-02-09 15:29:52 +01:00
Michal Krol
e04c8ecc61 softpipe: Implement cylindrical wrapping for linear interpolator. 2010-02-09 15:29:49 +01:00
Michal Krol
607a830fe2 tgsi: Gather cylindrical wrap info in tgsi_shader_info struct. 2010-02-09 15:29:46 +01:00
Michal Krol
33a9fb35dd tgsi: Add ureg_DECL_fs_input_cyl().
Allows one to declare fragment shader inputs with cylindrical wrap info.
2010-02-09 15:29:42 +01:00
Michal Krol
6f6d740c85 gallium: Add cylindrical wrap info to TGSI declaration. 2010-02-09 15:29:39 +01:00
Michal Krol
5ee856e195 tgsi: Remove tgsi_dump_c.[ch].
Little utility after development stabilisation, use tgsi_dump instead.
2010-02-09 15:29:34 +01:00
José Fonseca
b750786fb1 svga: Actually call fence_reference in texture downloads. 2010-02-09 11:51:33 +00:00
Vinson Lee
70f8aaa0c3 r300g: Fix off-by-one errors in array bounds assertions. 2010-02-09 01:26:11 -08:00
Zack Rusin
85c7ec70ad llvmpipe: switch to using dynamic stack allocation instead of registers
with mutable vars we don't need to follow the phi nodes. meaning that
control flow becomes trivial as we don't have scan the rest of the tgsi
to figure out the variable usage anymore. futhermore the memory2register
pass promotes alloca/store/load to registers while inserting the right phi
nodes. so we get simplicity and performance.
2010-02-08 21:50:33 -05:00
Vinson Lee
257267ee98 identity: Remove unnecessary header. 2010-02-08 18:22:29 -08:00
Vinson Lee
a131941e43 softpipe: Remove unnecessary headers. 2010-02-08 18:14:49 -08:00
Brian Paul
38076c9950 gallivm: added lp_bld_misc.cpp to sources list 2010-02-08 17:51:48 -07:00
Brian Paul
69c0d08678 llvmpipe: include gallivm/lp_bld_misc.h 2010-02-08 17:40:02 -07:00
Brian Paul
7d36b678c5 gallivm: added gallivm/lp_bld_misc.cpp to Makefile 2010-02-08 17:39:08 -07:00