Commit graph

28632 commits

Author SHA1 Message Date
Brian Paul
0a27c7b963 egl: use util_bitcount() 2009-11-23 18:04:47 -07:00
Brian Paul
15740eb03c gallium/util: added util_bitcount() 2009-11-23 18:04:22 -07:00
Jakob Bornecrantz
acc51ac0ac svga: Filter out pendantic and ansi flags
Rather have the driver compile without the flags then
having to disable them.
2009-11-24 01:16:17 +01:00
Vinson Lee
326b66d724 glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore. 2009-11-24 01:23:12 -05:00
Vinson Lee
364070b1f2 dri: Fix potential null pointer deference in dri_put_drawable. 2009-11-24 00:57:55 -05:00
Maciej Cencora
5173d14cb5 Merge commit 'origin/mesa_7_7_branch' 2009-11-23 22:14:48 +01:00
Maciej Cencora
960464e42d radeon: fix errors in miptree related function
- typo
- memory leak
- off by one (spotted by airlied)
2009-11-23 21:59:08 +01:00
Maciej Cencora
635823d267 Merge branch 'mesa_7_7_branch' of http://anongit.freedesktop.org/git/mesa/mesa into mesa_7_7_branch 2009-11-23 21:28:22 +01:00
Michal Krol
03f0ebe3bd slang: Fix order of parameters to sl_pp_tokenise(). 2009-11-23 20:12:17 +01:00
Jakob Bornecrantz
a11750218f autoconf: Fix case for not having package
(cherry picked from commit 5c4bdbd825)
2009-11-23 20:09:36 +01:00
Jakob Bornecrantz
86710c3334 svga: Scrub Makefiles a bit
Remove x86 specific hacks. Not that they will ever be used on
none x86 arches, but they are built by default. And the way the
flags where added was a hack.
2009-11-23 20:09:00 +01:00
Michel Dänzer
601edbef17 Fix the DRI swrast driver for big endian platforms.
Too bad I didn't realize earlier how easy this could be...

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
2009-11-23 19:56:37 +01:00
Michal Krol
18384af749 slang: Check return value from emit_instruction(). 2009-11-23 13:22:04 +01:00
Michal Krol
c511e0b844 tgsi: Clamp the source argument in micro_exp2() to avoid Inf. 2009-11-23 11:32:58 +01:00
Michal Krol
eacdd8fa75 tgsi: Remove code that actually had no effect. 2009-11-23 11:29:29 +01:00
Michal Krol
cc93fa3527 softpipe: Initialise TGSI machine's Face. 2009-11-23 10:51:07 +01:00
Michal Krol
cc35a454da tgsi: Fix POSITION and FACE fragment shader inputs. 2009-11-23 10:49:41 +01:00
Michal Krol
b7590cde4a tgsi: Bring BGNFOR/ENDFOR implementation up to spec. 2009-11-23 10:40:05 +01:00
Michal Krol
cde758a2b5 tgsi: Fake TXD implementation in exec. 2009-11-23 10:29:08 +01:00
Michal Krol
f359ac5486 tgsi: Add execution debugging facilities to exec. 2009-11-23 10:29:07 +01:00
Michal Krol
f61865799d slang: Be more robust with memory in concat_shaders(). 2009-11-23 10:29:05 +01:00
Vinson Lee
67125c7f9a mesa: Initialize variable in _mesa_get_texel_fetch_func. 2009-11-23 01:52:59 -05:00
Vinson Lee
4b0b250aae glx: Prevent potential null pointer deference in driCreateContext. 2009-11-23 01:30:32 -05:00
Vinson Lee
5b925b7daa glu/sgi: Fix memory leak in bitmapBuild2DMipmaps. 2009-11-23 01:09:06 -05:00
Vinson Lee
b611f639b4 glu/sgi: Fix memory leak in gluScaleImage3D. 2009-11-23 00:57:37 -05:00
Richard Li
a12b468d00 r600 : add support for shader instruction trunc and discard. 2009-11-22 21:37:44 -05:00
Dave Airlie
c3c8c40cab r600: hopefully fix segfault. 2009-11-23 06:44:29 +10:00
Dave Airlie
f9b0f1dfa1 r600: fix inline issues 2009-11-23 06:31:29 +10:00
Richard Li
1f8c23d9db r600 : add stack depth calculation, enable CF pop. 2009-11-22 13:03:20 -05:00
Richard Li
a02938a842 r600 : use cf for all pop now, left optimization for future. 2009-11-22 13:03:19 -05:00
Maciej Cencora
e0fda04013 r300: fix VP source conflict resolution on 64-bit machines
On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register).
On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
2009-11-22 15:08:46 +01:00
Maciej Cencora
dfe440c856 r300: fix SIN/COS/SCS instructions for R300 fp 2009-11-22 14:13:18 +01:00
Vinson Lee
a9c540f5de glu/sgi: Fix memory leak in gluScaleImage. 2009-11-22 01:57:35 -05:00
Vinson Lee
d3b4c99c70 glu: Fix memory leak in __gl_meshMakeEdge. 2009-11-22 01:45:53 -05:00
Vinson Lee
57d389aab5 svga: Prevent potential null pointer deference in vmw_surface.c. 2009-11-22 01:26:32 -05:00
Vinson Lee
b62a74d3b9 svga: Fix memory leak in vmw_screen_ioctl.c 2009-11-22 01:20:07 -05:00
Vinson Lee
88aab56a26 st/xorg: Prevent potential null pointer deference in xorg_xv.c. 2009-11-22 01:10:38 -05:00
Vinson Lee
46feb7db71 st/xorg: Reorder cases in switch statement.
Silences missing break statement warning.
2009-11-22 00:55:52 -05:00
Corbin Simpson
2b07b64061 r300g: Build fix.
Oops.
2009-11-21 19:13:26 -08:00
Marek Olšák
44c0aaf990 r300g: do not reallocate r300_vertex_info and r300_rs_block all the time 2009-11-21 14:52:26 -08:00
Marek Olšák
3a2cd66af8 r300g: clean up vs/fs tabs
Instead of vs_tab, we use vs_output_tab and it's local now. fs_tab hasn't
been used anywhere, so I removed it and r300_update_fs_tab too.
2009-11-21 14:52:26 -08:00
Michal Krol
6199a0cf89 glsl/apps: No need to purify source text for tokeniser. 2009-11-21 20:44:16 +01:00
Michal Krol
1cf021475a slang: No need to purify source text for tokeniser. 2009-11-21 20:43:02 +01:00
Michal Krol
abe1f33298 glsl/pp: Do purification and tokenisation in a single step. 2009-11-21 20:41:48 +01:00
Maciej Cencora
563fe6e8f6 radeon: fix compressed mipmapped textures
Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
2009-11-21 16:49:18 +01:00
Maciej Cencora
1d1f81af93 radeon: fix glCompressedTexSubImage 2009-11-21 16:49:18 +01:00
Maciej Cencora
d20b79172d radeon: fix compressed mipmapped textures
Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
2009-11-21 16:30:48 +01:00
Maciej Cencora
df87877636 radeon: fix glCompressedTexSubImage 2009-11-21 16:30:41 +01:00
Roland Scheidegger
465fee75ee intel: make CopyTex[Sub]Image fallback debug messages more consistent 2009-11-21 04:41:43 -08:00
Roland Scheidegger
c367f4d46e mesa: handle different RowStride in _mesa_get_compressed_teximage
drivers storing compressed textures with non-native stride but relying on
_mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't
work correctly (for instance i965 compressed mipmaps).
2009-11-21 04:41:43 -08:00