Brian Paul
fc0a48d587
bring in fixes/changes from master
2008-05-16 15:48:11 -06:00
Brian Paul
470f699505
Fix a program refcounting error, don't share program parameter lists.
...
The refcounting bug was causing a memleak (unfreed programs).
The old parameter list sharing is not needed since the change in how
uniforms are handled.
2008-05-16 15:40:44 -06:00
Brian Paul
ffbd455a36
fix an attr/src mix-up when setting-up/binding vertex arrays
...
This fixes problems with incorrect material coefficients when glMaterial
is called per-vertex.
2008-05-16 15:34:22 -06:00
Brian Paul
5f6a726d9f
fix parsing of state.texenv.color (bug 14931)
...
cherry-picked from master
2008-05-14 19:19:53 -06:00
Brian Paul
826218d386
Consolidate texture fetch code and use partial derivatives when possible.
...
picked from master
2008-05-14 19:14:41 -06:00
Brian Paul
887bfee6e3
mesa: fix InfoLog memleak, misc sync with master
2008-05-14 16:44:08 -06:00
Eric Anholt
23db6287d4
Bug #13492 : Only call ProgramStringNotify if program parsing succeeded.
...
Wine intentionally tries some out-of-spec programs to test strictness, and
calling ProgramStringNotify on the results of a failed program parse resulted
in crashes in the 965 driver.
2008-05-14 16:37:20 -06:00
Brian
217e5b5551
fix swizzle error test (bug 11881)
2008-05-14 16:35:51 -06:00
Brian Paul
087fa7e390
fix-up inlined/non-inlined function inconsistencies
...
cherry-picked from master
2008-05-14 16:32:18 -06:00
Brian Paul
7aed3751c7
mesa: rm unneeded file
2008-05-14 16:30:15 -06:00
Brian Paul
215a847e3f
mesa: prefix rm command with -
2008-05-14 16:27:34 -06:00
Brian Paul
753f979a32
rewrite some of the mat*mat, mat*vec intrinsics
...
Also, remove obsolete matrix codegen code.
cherry-picked from master
2008-05-14 16:20:28 -06:00
Brian Paul
8cf38c7e6a
mesa: regenerate slang built-in data (asin(vec4) fix)
2008-05-14 16:07:18 -06:00
Brian Paul
a9997657b9
mesa: fix missing w assignment in asin(vec4)
2008-05-14 16:06:10 -06:00
Brian Paul
26988c170c
mesa: use CALLOC_STRUCT()
2008-05-14 16:05:48 -06:00
Brian Paul
afa4c792b0
mesa: sync up swrast/s_fragprog.c with master
2008-05-14 16:05:25 -06:00
Brian Paul
4f915b0f83
mesa: updated comment
2008-05-14 16:04:51 -06:00
Brian Paul
05cacc06cc
mesa: minor bug fixes from master
2008-05-14 16:04:29 -06:00
Brian Paul
fcb23d7db7
mesa: dead code removal
2008-05-14 16:04:00 -06:00
Brian Paul
c4ceb4e4f3
mesa: minor bug fixes, null ptr checks, dead code removal
2008-05-14 16:03:38 -06:00
Brian Paul
6c536b9924
mesa: fix errors in LightModelProduct state, other misc error cases
2008-05-14 16:02:20 -06:00
Brian Paul
f84005c0a1
mesa: glUniform(location==-1) is not an error
2008-05-14 16:01:31 -06:00
Brian Paul
b256273689
fix some additional program refcounting bugs
...
cherry-picked from master
2008-05-14 12:47:29 -06:00
Brian Paul
d791386b09
fix some additional program refcounting bugs
...
cherry-picked from master
2008-05-14 12:19:22 -06:00
Jakob Bornecrantz
6c78b8e97b
mesa: Made linux-dri targets build EGL
2008-05-14 17:20:56 +02:00
Jakob Bornecrantz
3f9de6ff7d
egl: Updated EGL samples to use new i915 EGL winsys
2008-05-14 17:20:25 +02:00
Jakob Bornecrantz
d07fbdd939
i915: Added EGL winsys
2008-05-14 17:19:44 +02:00
Zack Rusin
19f15277d1
adjust llvm code to the changes in 2.3
2008-05-12 17:17:18 -04:00
Brian
6807b4f6b1
gallium: optimize the flush_spans() function
2008-05-10 12:46:55 -06:00
Brian
140b3f7f9c
gallium: remove unused code
2008-05-10 12:46:55 -06:00
Michel Dänzer
73c5505c13
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-09 18:16:02 +01:00
Michel Dänzer
7462f0557f
draw: Fix number of vertices allocated in draw_pt_emit().
2008-05-09 18:15:49 +01:00
Roland Scheidegger
a1f95a8bf6
gallium: depth textures have usage depth_stencil instead of render_target
2008-05-09 16:56:23 +02:00
Keith Whitwell
5ee2b5bdcc
draw: fix translate double-free, minor cleanups
2008-05-09 15:02:59 +01:00
Keith Whitwell
2f9b1b9cc2
Merge commit 'origin/gallium-0.1' into gallium-tex-surfaces
2008-05-09 13:11:48 +01:00
Keith Whitwell
1a03812fb5
draw: mimize cost of translate key compares, use cache universally
2008-05-09 13:10:15 +01:00
Keith Whitwell
80474d576c
translate: helper functions for mimizing cost of key compares
2008-05-09 13:09:58 +01:00
José Fonseca
54777e124c
gallium: Define util_vsprintf.
2008-05-09 18:48:01 +09:00
Keith Whitwell
36e1bc865b
Merge branch 'gallium-0.1' into gallium-tex-surfaces
2008-05-09 08:56:01 +01:00
José Fonseca
47f639a629
gallium: Disable debug_get_option for release builds on Windows.
...
It always creates the C:\gallium.cfg , even if it does not exists, which
might be confusing.
2008-05-09 14:34:51 +09:00
José Fonseca
2268306f58
gallium: Don't serialize GPU writes.
...
Only make sure the GPU is finished with a buffer before mapping.
The opposite -- waiting for the CPU to be finished before handing
to the CPU -- must be done before fencing.
2008-05-09 11:02:26 +09:00
Brian Paul
f763cc3cb5
gallium: don't free shader.tokens in get_passthrough_fs()
2008-05-08 19:32:49 -06:00
Brian Paul
2a39dbe736
gallium: fix out of tex memory crashes
2008-05-08 19:19:52 -06:00
Brian Paul
044d583ba1
gallium: handle null ptrs
2008-05-08 18:38:02 -06:00
Brian Paul
f9e2f26df3
gallium: re-enable call to init_renderbuffer_bits(), remove dead code
2008-05-08 17:45:59 -06:00
Brian Paul
2f07e1caa0
gallium: fix render to depth texture
2008-05-08 17:42:18 -06:00
Brian Paul
a7e8e31eee
gallium: replace pipe_buffer_destroy() call with pipe_buffer_reference(NULL)
2008-05-08 17:13:01 -06:00
Brian Paul
f3ecd488dd
gallium: remove dead code
2008-05-08 17:11:55 -06:00
Brian Paul
29d9f6b0d2
gallium: no-op st_Bitmap() if width or height is zero
2008-05-08 17:11:05 -06:00
Brian Paul
e93243cb80
gallium: clean-up, minor fix
2008-05-08 16:02:19 -06:00