Commit graph

92185 commits

Author SHA1 Message Date
Dave Airlie
a0bc6d2fb2 r500: remove some debugging 2008-05-15 18:40:07 +10:00
Dave Airlie
73af48fff5 r500: split output/pixel masks and emit in the correct places 2008-05-15 18:40:07 +10:00
Dave Airlie
c9d5d11d2d r3/500: emit RS state before VAP 2008-05-15 18:40:07 +10:00
Dave Airlie
412c850eab r500: fixup the program allocations to be the correct sizes 2008-05-15 18:40:07 +10:00
Dave Airlie
350c80fa99 r300: set screen so that context init can find out chip ids 2008-05-15 18:40:07 +10:00
Dave Airlie
e1bffd0318 r500: add cmp support in theory 2008-05-15 18:40:07 +10:00
Dave Airlie
10e0a36a49 r500: some trivial fixups to get tri working.
the counter was being used one instruction over the end
2008-05-15 18:40:07 +10:00
Dave Airlie
375656440b r500: we just need to emit a colour for clear drop tex instruction 2008-05-15 18:40:07 +10: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
ade508312c Updated GLSL uniform/sampler handling from gallium-0.1 branch
Previously, the shader linker combined the uniforms used by the vertex and
fragment shaders into a combined set of uniforms.  This made the implementation
of glUniform*() simple, but was rather inefficient otherwise.  Now each shader
gets its own set of uniforms (no more modelview matrix showing up in the
fragment shader uniforms, for example).

cherry-picked by hand from gallium-0.1 branch
2008-05-14 16:09:46 -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
c807c1a23f mesa: new functions for managing list/index of uniforms
cherry-picked from gallium-0.1
2008-05-14 13:12:44 -06:00
Brian Paul
e0f160663e clean-up swizzle fields in fog code, fix NegateBase
cherry-picked from gallium-0.1
2008-05-14 13:01:13 -06:00
Brian Paul
bff695b926 sync up with gallium-0.1 changes
New _mesa_num_inst_dst_regs(), _mesa_is_tex_instruction() functions
2008-05-14 13:00:27 -06:00
Brian Paul
6ca948a303 added _mesa_combine_parameter_lists()
cherry-picked from gallium-0.1
2008-05-14 12:53:03 -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
19ad9cf774 mesa: added _mesa_insert_instructions()
Also, use new _mesa_free_instructions() in a few places.

cherry-picked from gallium-0.1
2008-05-14 12:39:41 -06:00
Brian Paul
450136d368 mesa: added _mesa_free_instructions()
cherry-picked from gallium-0.1
2008-05-14 12:37:07 -06:00
Brian Paul
d791386b09 fix some additional program refcounting bugs
cherry-picked from master
2008-05-14 12:19:22 -06:00
Brian Paul
57e222d6e5 fix some additional program refcounting bugs 2008-05-14 12:11:17 -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
Ben Skeggs
9a01ee4424 nv40: fix typo in one of the previous commits 2008-05-14 18:35:37 +10:00
Ben Skeggs
bc1696862c Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-05-14 18:13:36 +10:00
Xiang, Haihao
4b7d301c94 _generic_read_RGBA_span_BGRA8888_REV_SSE2: It should adjust the source
and target pointers after do the first 2 pixels. fix bug #15850
2008-05-14 09:55:08 +08:00
Zack Rusin
1c624846a8 decomposition from keith, adds decomposition of more prim to the pipeline 2008-05-13 17:59:09 -04:00
Alex Deucher
f86baae1a7 R300: clean up GA registers 2008-05-13 16:12:57 -04:00
Alex Deucher
de3fc8b1c4 R3xx: clean up ZB registers 2008-05-13 15:46:23 -04:00
Alex Deucher
c5b7a1ee3c R300: clean up CB registers 2008-05-13 14:32:30 -04:00
Eric Anholt
cba90d4a77 [GEM] Actually include the presumed offset in initial relocations.
This avoids kernel relocations for most batchbuffer relocs.
2008-05-13 11:30:18 -07:00
Alex Deucher
8d70181b03 R300: clean up Fog registers 2008-05-13 14:02:29 -04:00
Alex Deucher
d09aa2138b R500: fixup r300EmitClearState() FP for r5xx 2008-05-13 13:38:30 -04:00