José Fonseca
ea8f7bd2e4
svgadump: Several improvements to shader dumping.
2010-02-12 11:10:41 +00:00
Ben Skeggs
ba3c874f08
nouveau: use AVAIL_RING()
2010-02-12 16:03:20 +10:00
Ben Skeggs
6af75a0ff4
nouveau: switch to nouveau_bo_new_tile()
2010-02-12 16:03:20 +10:00
Brian Paul
04d35714a6
svga: check min_index, max_index before assertions
...
It's possible for min_index and max_index to be ~0 if the min/max
values were not actually set or computed in the state tracker.
Skip some assertions in that case.
This only effects the debug build error checking.
(cherry picked from commit 408f32dc16 )
2010-02-11 16:54:48 -07:00
Brian Paul
0be04f710e
svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query
2010-02-11 11:34:54 -07:00
José Fonseca
be29a60f9e
Revert "llvmpipe: Move tile coordinate assertion into a more useful place."
...
This reverts commit 8c0391726a .
Too pendantic.
2010-02-11 12:14:01 +00:00
José Fonseca
c72e8b3edd
scons: Fix drm/intel build.
2010-02-11 11:51:32 +00:00
José Fonseca
9381dd590f
llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.
...
Avoids assertion failures with certain shaders.
2010-02-11 11:08:30 +00:00
José Fonseca
8c0391726a
llvmpipe: Move tile coordinate assertion into a more useful place.
2010-02-11 10:59:41 +00:00
José Fonseca
764c172aa9
llvmpipe: Clamp both extremes of triangles to framebuffer size.
...
Fix segmentation fault when triangles crossed the axis.
2010-02-11 10:58:46 +00:00
José Fonseca
128d93a009
gallivm: TGSI_OPCODE_CONT is not deprecated.
...
Note that with FIXME instead of an assertion failure.
Addresses fdo 25956.
2010-02-11 10:08:52 +00:00
Ben Skeggs
16a91bd2fd
nouveau: remove u_simple_screen.h includes
2010-02-11 15:21:31 +10:00
Vinson Lee
7c2634dd71
i965g: ifdef out unused functions.
2010-02-10 19:03:18 -08:00
Corbin Simpson
229db2b8ad
r300g: Work around "defect" in r300compiler.
...
r300compiler doesn't handle half swizzles for vert shaders, which don't
have them. So, for now, disable them.
2010-02-10 18:40:12 -08:00
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