Brian
c1a5447337
take GL_UNPACK_ALIGNMENT into account in _mesa_image_row_stride() for GL_BITMAP type (bug 10261)
2007-03-12 09:50:27 -06:00
Alan Swanson
d0a3400f66
r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300.
2007-03-12 10:03:01 +01:00
Alan Swanson
33ea9dccaf
r200: Adapt cliprect fixes from r300.
2007-03-12 09:59:45 +01:00
Alan Swanson
88501887e4
radeon: Adapt cliprect fixes from r300.
2007-03-12 09:59:28 +01:00
Nian Wu
5a5b55943d
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
2007-03-12 09:03:27 +08:00
Brian
15aa7aaa93
add NULL ptr check
2007-03-11 17:29:54 -06:00
Brian
1c09bcfdda
Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.
...
GL_MAX_DRAW_BUFFERS is currently 4.
Added gl_FragData[] output for fragment programs.
In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
2007-03-11 17:00:39 -06:00
Xiang, Haihao
61ec23cc63
fix for bug#10196
...
Compute half if LOCAL_VIEWER is enabled and the light is
a directional source.
2007-03-11 22:41:26 +08:00
Aapo Tahkola
69e57cf6ae
Guess another unknown register in R300 command buffer initialization. (Oliver McFadden)
2007-03-11 11:47:03 +02:00
Oliver McFadden
e64166703a
Renamed some of the unkXXX variables in the command buffer init
...
ialization code.
Note that there are still plenty of actual unknown variables left that should
probably be deciphered.
There are a number of things incomplete in the driver; the different polygon
offset modes (line, point, etc), the other texture filter, texture chroma key,
etc. These should probably be fixed in the future, or at least added to the TODO
list.
2007-03-11 12:18:27 +11:00
Brian
d23dd812ad
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into glsl-compiler-1
2007-03-10 14:07:28 -07:00
Brian
7d39c1ae76
Fix TEXREL issues.
...
Patch submitted by Christoph Brill.
See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml
2007-03-10 11:50:50 -07:00
Brian
823c041fde
check for EXT_blend_equation_separate for 2.0
2007-03-10 11:48:59 -07:00
Brian
10b5895597
Implement gl_FrontFacing for fragment shaders.
...
For the time being, we put the gl_FrontFacing value in the FOGC.Y input
register. Combining FOGC and FrontFacing in one register is a bit of a
hack and may need to be changed someday.
2007-03-10 11:30:19 -07:00
Brian
1fcb4ecc07
clean-up formatting
2007-03-10 10:56:06 -07:00
Brian
c9872b80c8
add NULL ptr check in emit_cond()
2007-03-10 10:37:18 -07:00
Michel Dänzer
38f7f81518
i915tex: Fix build against libdrm git...
2007-03-10 17:12:58 +01:00
Michel Dänzer
beffb4e88c
i915tex: Fix intel_wait_flips being declared implicitly.
2007-03-10 16:40:22 +01:00
Michel Dänzer
97775f9904
i915tex: Fix build against released version of libdrm.
2007-03-10 16:08:11 +01:00
Stephane Marchesin
ced8870a6a
nouveau: fix nv04 swtcl.
2007-03-10 13:46:26 +01:00
Stephane Marchesin
4f12b37a56
nouveau: fix the nv04 swtcl code.
2007-03-10 01:30:34 +01:00
Stephane Marchesin
581a594033
nouveau: oops don't debug by default.
2007-03-10 01:30:34 +01:00
Stephane Marchesin
df1c3ff3dd
nouveau: some fixes to the nv04 state code.
2007-03-10 01:30:33 +01:00
Stephane Marchesin
e61f674844
nouveau: add a fifo size debug check.
2007-03-10 01:30:33 +01:00
Brian
46bd63819e
use gl_ModelViewProjectionMatrixTranspose in ftransform()
2007-03-09 17:02:12 -07:00
Brian
ff95925e70
add NULL ptr check
2007-03-09 16:53:44 -07:00
Michel Dänzer
30b914e2ca
Merge branch 'i915tex-pageflip'
2007-03-10 00:19:17 +01:00
Brian
b9ea936150
added GL_CURRENT_PROGRAM
2007-03-09 15:41:25 -07:00
Michel Dänzer
6e0878becf
i915tex: Wait for pending scheduled flips before switching vsync pipe.
...
This avoids hangs when the vblank sequence numbers are not in sync between
pipes, in particular when they run at different refresh rates.
2007-03-09 20:00:13 +01:00
Michel Dänzer
bb0760ca4f
i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.
2007-03-09 19:56:55 +01:00
Brian
2cf5fd48d1
Merge branch 'origin' into glsl-compiler-1
...
Conflicts:
src/mesa/main/context.c
2007-03-09 11:43:53 -07:00
Brian
9f44247acf
fix _mesa_uniform_matrix() transpose bug
2007-03-09 11:34:18 -07:00
Michel Dänzer
36b4e25da3
i915tex: Sync pages between pipes immediately again.
...
This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction
incorrectly and should also work correctly with applications that render to the
front buffer.
2007-03-09 17:52:29 +01:00
Michel Dänzer
81536789d2
i915tex: Do not wait for pending flips on both pipes at the same time.
...
The MI_WAIT_FOR_EVENT instruction does not support waiting for several events
at once, so this should fix the lockups with page flipping when both pipes are
enabled.
2007-03-09 17:42:55 +01:00
Brian
f9f79c8d77
New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to fix glGetTexImage(GL_LUMINANCE) bug #10232 .
2007-03-09 09:13:49 -07:00
Michel Dänzer
4d9901a1ca
r300: Also update window state when it's already bound but its stamp changed.
...
And set new cliprects before deriving other state from them. This ensures
cliprects aren't accessed after having been freed.
Thanks to Panagiotis Papadakos for testing various iterations of this.
2007-03-09 09:43:17 +01:00
Brian
a706b0b8bd
added missing bvec2/3/4 constructors
2007-03-08 16:08:55 -07:00
Brian
05b74e4ae4
fix broken vec4_seq, vec4_sne instructions
2007-03-08 15:59:20 -07:00
Brian
2f35a17f38
Update lessThan(), lessThanEqual() functions, improve some matrix constructors.
2007-03-08 15:53:05 -07:00
Brian
5761a93bba
Added IR_SLE and IR_SLT for <= and < operations.
...
Using IR_SGE and IR_SGT with transposed args doesn't work since the __asm
calls don't do argument matching by name, but by position.
This fixes the broken lessThan() and lessThanEqual() functions.
2007-03-08 15:52:22 -07:00
Brian
3e0fbc7efc
fix tmp storage problem for IR_I_TO_F
2007-03-08 15:45:25 -07:00
Brian
19a9050548
fix assertion
2007-03-08 15:19:34 -07:00
Brian
ee931f8d4d
; and {} statements were broken
2007-03-08 14:48:34 -07:00
Brian
ec89aba7c6
remove unused new_cjump()
2007-03-08 11:29:22 -07:00
Brian
cce4e50569
IR_CJUMP0/1 no longer used/needed
2007-03-08 11:16:13 -07:00
Brian
63772e2a2c
rewrite _slang_gen_select() to use IF node
2007-03-08 11:07:52 -07:00
Brian
b3dd49429b
s/_slang_gen_hl_if/_slang_gen_if/
2007-03-08 10:53:50 -07:00
Brian
609306de17
s/_slang_gen_hl_if/_slang_gen_if/
2007-03-08 10:43:57 -07:00
Brian
c9f486c38f
remove old assertion
2007-03-08 10:40:37 -07:00
Brian
bf86ddaa20
check for attempted writes to read-only vars
2007-03-08 10:40:25 -07:00