Commit graph

115447 commits

Author SHA1 Message Date
Corbin Simpson
5499685931 r5xx: Moar LIT.
Still not working, but getting closer.
2008-05-26 15:18:41 -07:00
Corbin Simpson
a2db33219d r5xx: First stab at LIT. 2008-05-26 12:35:39 -07:00
Brian Paul
f172148c6e gallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage() 2008-05-26 13:35:29 -06:00
Brian Paul
635abed109 gallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage() 2008-05-26 13:30:10 -06:00
Keith Whitwell
aa16e3a275 draw: defensively flush pipeline backend when setting primitive 2008-05-26 19:10:44 +01:00
Keith Whitwell
93bfc94c35 draw: defensively reset render primitive some more 2008-05-26 18:54:35 +01:00
Keith Whitwell
d80c24a81a draw: defensively reset render primitive, which can get clobbered by clipping 2008-05-26 18:37:34 +01:00
Keith Whitwell
529762d5df draw: add missing break 2008-05-26 18:29:47 +01:00
Ben Skeggs
fa4b2439d4 nouveau: very quick port to tex-surface changes.
probably the last match-gallium-upstream merge for a bit, some cleanup+nv50
work coming RSN...
2008-05-27 01:23:31 +10:00
José Fonseca
35cfd0a490 pipebuffer: Malloc buffer provider.
Simple wrapper around pb_malloc_buffer_create for convenience.
2008-05-27 00:19:41 +09:00
José Fonseca
a0e2955a16 pipebuffer: Allow slab allocations of buffers of inequal size. 2008-05-27 00:13:57 +09:00
Ben Skeggs
0f9635d9d5 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-05-27 00:59:41 +10:00
José Fonseca
c428997a52 Revert DOS line endings. 2008-05-26 23:38:03 +09:00
José Fonseca
253066d716 Revert DOS line endings. 2008-05-26 23:29:38 +09:00
José Fonseca
fc72d7e032 Remove CVS keywords. 2008-05-26 20:39:26 +09:00
José Fonseca
77ce568ff7 Remove CVS keywords. 2008-05-26 20:14:40 +09:00
Jakob Bornecrantz
791eee64e0 i915: Removed screen sufixes on texture functions 2008-05-26 13:05:38 +02:00
Jakob Bornecrantz
e0fd3449f8 i915: Fix for tex-surface merge 2008-05-26 13:05:31 +02:00
Jakob Bornecrantz
e3ddafd1d3 Merge branch 'gallium-tex-surface' into gallium-0.1
Conflicts:

	src/gallium/include/pipe/p_util.h
2008-05-26 13:04:25 +02:00
José Fonseca
d0e2a9add2 Add copyright header. 2008-05-26 20:02:43 +09:00
Keith Whitwell
351eca365c draw: extend precision in RSQ opcode 2008-05-26 11:03:00 +01:00
Keith Packard
924eaa2f95 [intel] all flushing in intelEmitCopyBlit
Add both MI_FLUSH and intel_batchbuffer_flush to intelEmitCopyBlit.
This ensures that the data are flushed *and* the gem kernel driver sees the
various memory domain transitions.
2008-05-26 00:19:20 -07:00
Corbin Simpson
21b352bb14 Replace copyright on r500_fragprog.c
Huh, could have sworn I already did this once before...
Maybe I forgot to commit it?
2008-05-25 22:50:00 -07:00
Keith Packard
8ba91b4636 [intel] Enable buffer re-use for gem
Use the new DRM_IOCTL_I915_GEM_BUSY ioctl to detect
idle buffers for re-use.
2008-05-25 20:50:01 -07:00
Corbin Simpson
27d8fcd506 r5xx: Unbreak texture swizzling. 2008-05-25 19:53:48 -07:00
Keith Whitwell
721fb5597e draw: more aos tweaks 2008-05-26 00:09:02 +01:00
Corbin Simpson
f776f693c0 r5xx: Massive MAD cleanup.
Common uses of MAD now use emit_mad(), the two common negation masks work,
and fixed a few off-by-one errors.
2008-05-25 11:46:16 -07:00
Corbin Simpson
594760148c r5xx: Negation masks for every inst except SWZ.
Yay?
2008-05-25 11:35:54 -07:00
Corbin Simpson
bd74d2aa26 r5xx: More emit_alu().
Converted ADD.
2008-05-25 11:35:20 -07:00
Corbin Simpson
810270ad11 r5xx: Add emit_mad() for FP.
If it uses MAD, emit it with emit_mad()!
(Now available at your local grocer's. Multiply and add responsibly.)
2008-05-25 11:07:51 -07:00
Keith Whitwell
359058e7b7 cso: use memcpy rather than structure asignment for copying
Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.
2008-05-25 15:54:40 +01:00
Keith Whitwell
9c7568965c draw: slight tweak for XPD opcode 2008-05-25 15:47:04 +01:00
Keith Whitwell
3afb7198e0 draw: remove EXP & LOG from vs_aos.c
These don't get hit & look like bug magnets to me...
2008-05-25 15:45:27 +01:00
Keith Whitwell
ce331e3a5e draw: special case for writing out scalar results 2008-05-25 15:44:17 +01:00
Keith Whitwell
caadc8d944 draw: clean up some of the xmm register manipulation function names 2008-05-25 15:37:47 +01:00
Keith Whitwell
dc52622fcf cso: use memcpy rather than structure asignment for copying
Apparently gcc will omit to copy hidden padding bytes under some circumstances,
which means later on memcmp() will indicate a difference between structs
even though all the visible members are identical.
2008-05-25 15:28:30 +01:00
Keith Whitwell
584a3dcf8e draw: add viewport support to generic vs varient code 2008-05-25 11:25:09 +01:00
Keith Whitwell
a6fca8acb5 draw: fix input vs output typo in emit 2008-05-25 11:20:38 +01:00
Ben Skeggs
8f67f98959 nouveau: missed PCI case 2008-05-25 14:26:18 +10:00
Ben Skeggs
f5599a7a3c nouveau: remove final PIPE_FORMAT_U_* usage 2008-05-25 14:25:15 +10:00
Ben Skeggs
9212085194 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-05-25 14:19:18 +10:00
Corbin Simpson
f1d04cd766 r5xx: Consolidate FP tex insts.
They're all the same, really.
2008-05-24 11:30:57 -07:00
Corbin Simpson
b6b5190682 r5xx: Fix SGE/SLT. 2008-05-24 10:25:22 -07:00
Corbin Simpson
6f918a9fda r5xx: Remove some debugging cruft. 2008-05-24 10:25:22 -07:00
José Fonseca
eab4472ee6 Demangle C++ symbols. 2008-05-25 01:35:53 +09:00
Tormod Volden
de27760a3c dri: vblank_mode warning
From what I can see the environment variables LIBGL_THROTTLE_REFRESH
and LIBGL_SYNC_REFRESH were taken out like 3 years ago, but this
warning was never updated.
2008-05-24 18:32:03 +02:00
Keith Whitwell
48a24f0ff7 Revert "mesa: save a temp on normalizes"
This reverts commit feceb43948.
2008-05-24 16:32:08 +01:00
Keith Whitwell
86e529ad90 draw: use lookup tables to avoid calling pow() in LIT opcode 2008-05-24 16:31:11 +01:00
Keith Whitwell
e1590abb17 mesa: pre-swizzle normal scale state value 2008-05-24 13:23:06 +01:00
Keith Whitwell
a2b1c46535 mesa: evaluate _NeedEyeCoords prior to generating internal vertex shader 2008-05-24 13:22:39 +01:00