Michal Krol [Tue, 3 Jun 2008 09:22:00 +0000 (11:22 +0200)]
draw: Use register names more consistently.
Michal Krol [Tue, 3 Jun 2008 08:59:46 +0000 (10:59 +0200)]
draw: Fix fetch_src(). Resurrect SSE version of DP3.
Michal Krol [Mon, 2 Jun 2008 19:51:31 +0000 (21:51 +0200)]
draw: Fix DP3 implementation by replacing SSE with x87 version.
José Fonseca [Mon, 2 Jun 2008 11:16:49 +0000 (20:16 +0900)]
gallium: Fix log<->cos typo in logf.
Jakob Bornecrantz [Fri, 30 May 2008 11:36:52 +0000 (13:36 +0200)]
sis: Removed useless comment
Keith Whitwell [Thu, 29 May 2008 17:18:56 +0000 (18:18 +0100)]
draw: quieten some debug
Keith Whitwell [Thu, 29 May 2008 13:35:30 +0000 (14:35 +0100)]
draw: add more switches to turn FSE on/off
José Fonseca [Thu, 29 May 2008 13:26:56 +0000 (22:26 +0900)]
gallium: MSVC warning fixes.
Conflicts:
src/gallium/auxiliary/draw/draw_pt_varray.c
src/gallium/auxiliary/draw/draw_pt_varray_tmp.h
src/gallium/auxiliary/draw/draw_pt_vcache.c
José Fonseca [Thu, 29 May 2008 13:20:51 +0000 (22:20 +0900)]
psb: Make msvc happy.
Conflicts:
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
Keith Whitwell [Thu, 29 May 2008 12:26:01 +0000 (13:26 +0100)]
draw: michal's patch for calling powf... teapot still not quite right
Keith Whitwell [Thu, 29 May 2008 12:08:15 +0000 (13:08 +0100)]
draw: better calculation of fetch_count
Keith Whitwell [Thu, 29 May 2008 11:42:39 +0000 (12:42 +0100)]
draw: remove printf
Keith Whitwell [Thu, 29 May 2008 11:38:49 +0000 (12:38 +0100)]
draw: make sure constant buffer data is aligned before passing to aos.c
Keith Whitwell [Thu, 29 May 2008 10:46:43 +0000 (11:46 +0100)]
draw: draw_range_elements trial
Michal Krol [Thu, 29 May 2008 10:11:37 +0000 (12:11 +0200)]
scons: Remove duplicate entry.
José Fonseca [Thu, 29 May 2008 09:28:02 +0000 (18:28 +0900)]
draw: Put PIPE_CDECL in the right places.
MSVC seems picky about this.
Keith Whitwell [Wed, 28 May 2008 23:17:53 +0000 (00:17 +0100)]
draw: share machine
Keith Whitwell [Wed, 28 May 2008 22:54:18 +0000 (23:54 +0100)]
draw: enable FSE by default
Keith Whitwell [Wed, 28 May 2008 15:36:45 +0000 (16:36 +0100)]
rtasm: special case for [ebp]
José Fonseca [Wed, 28 May 2008 13:19:58 +0000 (22:19 +0900)]
draw: Use PIPE_CDECL.
José Fonseca [Wed, 28 May 2008 13:19:26 +0000 (22:19 +0900)]
scons: Add new files.
Michal Krol [Wed, 28 May 2008 13:10:39 +0000 (15:10 +0200)]
scons: List missing files for draw module.
Michal Krol [Wed, 28 May 2008 13:10:19 +0000 (15:10 +0200)]
draw: Decorate callbacks with PIPE_CDECL.
José Fonseca [Wed, 28 May 2008 12:48:30 +0000 (21:48 +0900)]
tgsi: Observe constness.
José Fonseca [Wed, 28 May 2008 12:47:25 +0000 (21:47 +0900)]
translate: Mark functions as PIPE_CDECL.
Keith Whitwell [Wed, 28 May 2008 12:33:09 +0000 (13:33 +0100)]
Merge branch 'gallium-vertex-linear' into gallium-tex-surfaces
Keith Whitwell [Tue, 27 May 2008 22:23:37 +0000 (23:23 +0100)]
softpipe: enable vbuf by default
The non-vbuf option is going away...
Keith Whitwell [Tue, 27 May 2008 22:21:50 +0000 (23:21 +0100)]
draw: reset stipple counter whenever non-line prim encountered
Keith Whitwell [Tue, 27 May 2008 18:01:57 +0000 (19:01 +0100)]
draw: support psize in vs_varient paths
Preserve the vinfo "EMIT_*" format descriptors in the varient key,
and deal with PSIZE directly in each implementation.
Keith Whitwell [Tue, 27 May 2008 16:51:48 +0000 (17:51 +0100)]
draw: add disabled debug code
Keith Whitwell [Tue, 27 May 2008 16:49:13 +0000 (17:49 +0100)]
draw: ensure vs outputs mapped correctly to vinfo attribs
Keith Whitwell [Tue, 27 May 2008 16:45:54 +0000 (17:45 +0100)]
draw: fix ABS aliasing bug
Michel Dänzer [Tue, 27 May 2008 16:00:59 +0000 (17:00 +0100)]
gallium: Always unreference bitmap cache texture before resetting the cache.
Fixes assertion failure with tunnel2 demo.
Keith Whitwell [Tue, 27 May 2008 13:42:15 +0000 (14:42 +0100)]
draw: explicitly list nr_inputs, outputs in varient key
Keith Whitwell [Tue, 27 May 2008 13:17:57 +0000 (14:17 +0100)]
draw: remove dead file
Jakob Bornecrantz [Tue, 27 May 2008 11:15:52 +0000 (13:15 +0200)]
draw: Fixed typo in draw_pt_varray and added comments
Jakob Bornecrantz [Tue, 27 May 2008 10:59:46 +0000 (12:59 +0200)]
draw: Fix for EMIT_4UB case
Keith Whitwell [Tue, 27 May 2008 11:26:23 +0000 (12:26 +0100)]
draw: hook up viewport / rhw emit to varient key state
Keith Whitwell [Tue, 27 May 2008 10:58:55 +0000 (11:58 +0100)]
draw: restore extras path in draw_pt_vcache.c, keep pipeline flags out of non-pipeline elts
Keith Whitwell [Tue, 27 May 2008 10:15:31 +0000 (11:15 +0100)]
draw: dump individual instructions as they are processed
Keith Whitwell [Tue, 27 May 2008 10:12:42 +0000 (11:12 +0100)]
tgsi: export utils for dumping individual instructions
Keith Whitwell [Tue, 27 May 2008 10:10:50 +0000 (11:10 +0100)]
draw: fix writemask/shufps confusion
Keith Whitwell [Tue, 27 May 2008 09:42:58 +0000 (10:42 +0100)]
draw: some possible fixes for spilling
Keith Whitwell [Tue, 27 May 2008 09:35:33 +0000 (10:35 +0100)]
ffvertex: emit full LIT when attenuating (needs the 1 in X position)
Keith Whitwell [Tue, 27 May 2008 08:48:32 +0000 (09:48 +0100)]
ffvertex: don't compute whole eye vector if only eye.z is required
Brian Paul [Mon, 26 May 2008 19:35:29 +0000 (13:35 -0600)]
gallium: free renderbuffer's old texture in st_renderbuffer_alloc_storage()
Keith Whitwell [Mon, 26 May 2008 18:10:44 +0000 (19:10 +0100)]
draw: defensively flush pipeline backend when setting primitive
Keith Whitwell [Mon, 26 May 2008 17:54:35 +0000 (18:54 +0100)]
draw: defensively reset render primitive some more
Keith Whitwell [Mon, 26 May 2008 17:37:34 +0000 (18:37 +0100)]
draw: defensively reset render primitive, which can get clobbered by clipping
Keith Whitwell [Mon, 26 May 2008 17:29:47 +0000 (18:29 +0100)]
draw: add missing break
José Fonseca [Mon, 26 May 2008 15:19:41 +0000 (00:19 +0900)]
pipebuffer: Malloc buffer provider.
Simple wrapper around pb_malloc_buffer_create for convenience.
José Fonseca [Mon, 26 May 2008 15:13:57 +0000 (00:13 +0900)]
pipebuffer: Allow slab allocations of buffers of inequal size.
José Fonseca [Mon, 26 May 2008 14:29:38 +0000 (23:29 +0900)]
Revert DOS line endings.
José Fonseca [Mon, 26 May 2008 11:39:26 +0000 (20:39 +0900)]
Remove CVS keywords.
José Fonseca [Mon, 26 May 2008 11:02:29 +0000 (20:02 +0900)]
Add copyright header.
Keith Whitwell [Mon, 26 May 2008 10:03:00 +0000 (11:03 +0100)]
draw: extend precision in RSQ opcode
Keith Whitwell [Sun, 25 May 2008 23:09:02 +0000 (00:09 +0100)]
draw: more aos tweaks
Keith Whitwell [Sun, 25 May 2008 14:28:30 +0000 (15:28 +0100)]
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.
Keith Whitwell [Sun, 25 May 2008 14:47:04 +0000 (15:47 +0100)]
draw: slight tweak for XPD opcode
Keith Whitwell [Sun, 25 May 2008 14:45:27 +0000 (15:45 +0100)]
draw: remove EXP & LOG from vs_aos.c
These don't get hit & look like bug magnets to me...
Keith Whitwell [Sun, 25 May 2008 14:44:17 +0000 (15:44 +0100)]
draw: special case for writing out scalar results
Keith Whitwell [Sun, 25 May 2008 14:37:47 +0000 (15:37 +0100)]
draw: clean up some of the xmm register manipulation function names
Keith Whitwell [Sun, 25 May 2008 14:28:30 +0000 (15:28 +0100)]
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.
Keith Whitwell [Sun, 25 May 2008 10:25:09 +0000 (11:25 +0100)]
draw: add viewport support to generic vs varient code
Keith Whitwell [Sun, 25 May 2008 10:20:38 +0000 (11:20 +0100)]
draw: fix input vs output typo in emit
José Fonseca [Sat, 24 May 2008 16:35:53 +0000 (01:35 +0900)]
Demangle C++ symbols.
Keith Whitwell [Sat, 24 May 2008 15:32:08 +0000 (16:32 +0100)]
Revert "mesa: save a temp on normalizes"
This reverts commit
feceb43948f76cc4d4c8ecbb86b1b1f438c6daee.
Keith Whitwell [Sat, 24 May 2008 15:31:11 +0000 (16:31 +0100)]
draw: use lookup tables to avoid calling pow() in LIT opcode
Keith Whitwell [Sat, 24 May 2008 12:23:06 +0000 (13:23 +0100)]
mesa: pre-swizzle normal scale state value
Keith Whitwell [Sat, 24 May 2008 12:22:39 +0000 (13:22 +0100)]
mesa: evaluate _NeedEyeCoords prior to generating internal vertex shader
Keith Whitwell [Sat, 24 May 2008 12:22:29 +0000 (13:22 +0100)]
draw: add a debug-print which can be called from inside generated shaders
Keith Whitwell [Sat, 24 May 2008 12:22:15 +0000 (13:22 +0100)]
rtasm: add some helpers for calling out from generated code
José Fonseca [Sat, 24 May 2008 10:26:14 +0000 (19:26 +0900)]
gallium: Pre-processor for win32 kernel profile output.
José Fonseca [Sat, 24 May 2008 10:25:33 +0000 (19:25 +0900)]
gallium: Poor-man profiler for win32 kernel.
José Fonseca [Sat, 24 May 2008 10:25:02 +0000 (19:25 +0900)]
scons: New profile build.
Keith Whitwell [Fri, 23 May 2008 19:37:50 +0000 (20:37 +0100)]
mesa: save a temp on normalizes
Keith Whitwell [Fri, 23 May 2008 19:05:36 +0000 (20:05 +0100)]
mesa: further degenerate the special case lit substitute
Keith Whitwell [Fri, 23 May 2008 18:17:57 +0000 (19:17 +0100)]
glapi: fix include path & make build work
Keith Whitwell [Fri, 23 May 2008 18:17:02 +0000 (19:17 +0100)]
mesa: don't emit LIT instruction when mat shininess known to be zero
Use a faster path in that case & make gears go faster.
Keith Whitwell [Fri, 23 May 2008 08:14:17 +0000 (09:14 +0100)]
draw: faster LIT(), incorrect though
Keith Whitwell [Fri, 23 May 2008 08:10:59 +0000 (09:10 +0100)]
mesa: do object-space lighting in ffvertex_prog.c
Start pulling over some of the optimizations from the fixed function
paths.
Keith Whitwell [Thu, 22 May 2008 19:22:15 +0000 (20:22 +0100)]
draw: correct but slow LIT() in aos varient
Keith Whitwell [Thu, 22 May 2008 19:21:49 +0000 (20:21 +0100)]
draw: tweak x87_emit_ex2 to avoid changing x87 fpu settings
Keith Whitwell [Thu, 22 May 2008 14:24:02 +0000 (15:24 +0100)]
draw: use aligned movs within draw_vs_aos.c
Keith Whitwell [Thu, 22 May 2008 12:49:38 +0000 (13:49 +0100)]
draw: for debug, do rhw divide in aos_sse viewport calcs
Keith Whitwell [Thu, 22 May 2008 12:48:07 +0000 (13:48 +0100)]
draw: shortcircuit shuffle in aos_sse when possible
Keith Whitwell [Thu, 22 May 2008 12:47:08 +0000 (13:47 +0100)]
draw: remove FPU_MANIP ifdef
Keith Whitwell [Thu, 22 May 2008 12:46:06 +0000 (13:46 +0100)]
draw: clean up masked writes in aos sse, make some xmm function names clearer
Keith Whitwell [Thu, 22 May 2008 12:41:49 +0000 (13:41 +0100)]
draw: clean up internal immediates in aos sse
Keith Whitwell [Thu, 22 May 2008 12:37:48 +0000 (13:37 +0100)]
draw: fse works with elts, remove assert
Keith Whitwell [Wed, 21 May 2008 19:50:36 +0000 (20:50 +0100)]
rtasm: remove debug
Keith Whitwell [Wed, 21 May 2008 19:41:01 +0000 (20:41 +0100)]
draw: when preloading args to x87 stack, need to use reverse order
Keith Whitwell [Wed, 21 May 2008 19:38:23 +0000 (20:38 +0100)]
draw: avoid a pointless mov in many sse opcodes
Keith Whitwell [Wed, 21 May 2008 19:34:52 +0000 (20:34 +0100)]
draw: fix x87_ex2 and partially fix lit insn
Keith Whitwell [Wed, 21 May 2008 19:32:43 +0000 (20:32 +0100)]
draw: fix fpu control word manipulations
Keith Whitwell [Wed, 21 May 2008 19:31:08 +0000 (20:31 +0100)]
draw: fix vs aos internal/machine state
Keith Whitwell [Wed, 21 May 2008 19:28:56 +0000 (20:28 +0100)]
draw: add viewport to varient state
Keith Whitwell [Wed, 21 May 2008 19:14:55 +0000 (20:14 +0100)]
rtasm: add x87 instructions and debug-check for x87 stack usage
Keith Whitwell [Wed, 21 May 2008 12:17:48 +0000 (13:17 +0100)]
vp-tris: use test name as window name
Keith Whitwell [Wed, 21 May 2008 08:44:16 +0000 (09:44 +0100)]
draw: add aos vertex shader varient