Keith Whitwell
7b85ea19de
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.
il y a 17 ans
Keith Whitwell
fd20d1c7e8
draw: add disabled debug code
il y a 17 ans
Keith Whitwell
660fee8351
draw: ensure vs outputs mapped correctly to vinfo attribs
il y a 17 ans
Keith Whitwell
2ec419d40d
draw: fix ABS aliasing bug
il y a 17 ans
Keith Whitwell
f8762ba523
draw: explicitly list nr_inputs, outputs in varient key
il y a 17 ans
Keith Whitwell
f64c44ad3e
draw: remove dead file
il y a 17 ans
Jakob Bornecrantz
9f9f6c21be
draw: Fixed typo in draw_pt_varray and added comments
il y a 17 ans
Jakob Bornecrantz
9752ebd99e
draw: Fix for EMIT_4UB case
il y a 17 ans
Keith Whitwell
a08c574bfc
draw: hook up viewport / rhw emit to varient key state
il y a 17 ans
Keith Whitwell
50c1d329b9
draw: restore extras path in draw_pt_vcache.c, keep pipeline flags out of non-pipeline elts
il y a 17 ans
Keith Whitwell
f7946bc7c0
draw: dump individual instructions as they are processed
il y a 17 ans
Keith Whitwell
adaaa29218
tgsi: export utils for dumping individual instructions
il y a 17 ans
Keith Whitwell
5dc44184fa
draw: fix writemask/shufps confusion
il y a 17 ans
Keith Whitwell
4e2567f0ab
draw: some possible fixes for spilling
il y a 17 ans
Keith Whitwell
2109ddafef
ffvertex: emit full LIT when attenuating (needs the 1 in X position)
il y a 17 ans
Keith Whitwell
dc1537bc25
ffvertex: don't compute whole eye vector if only eye.z is required
il y a 17 ans
Keith Whitwell
aa16e3a275
draw: defensively flush pipeline backend when setting primitive
il y a 17 ans
Keith Whitwell
93bfc94c35
draw: defensively reset render primitive some more
il y a 17 ans
Keith Whitwell
d80c24a81a
draw: defensively reset render primitive, which can get clobbered by clipping
il y a 17 ans
Keith Whitwell
529762d5df
draw: add missing break
il y a 17 ans
Keith Whitwell
351eca365c
draw: extend precision in RSQ opcode
il y a 17 ans
Keith Whitwell
721fb5597e
draw: more aos tweaks
il y a 17 ans
Keith Whitwell
9c7568965c
draw: slight tweak for XPD opcode
il y a 17 ans
Keith Whitwell
3afb7198e0
draw: remove EXP & LOG from vs_aos.c
These don't get hit & look like bug magnets to me...
il y a 17 ans
Keith Whitwell
ce331e3a5e
draw: special case for writing out scalar results
il y a 17 ans
Keith Whitwell
caadc8d944
draw: clean up some of the xmm register manipulation function names
il y a 17 ans
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.
il y a 17 ans
Keith Whitwell
584a3dcf8e
draw: add viewport support to generic vs varient code
il y a 17 ans
Keith Whitwell
a6fca8acb5
draw: fix input vs output typo in emit
il y a 17 ans
Keith Whitwell
48a24f0ff7
Revert "mesa: save a temp on normalizes"
This reverts commit feceb43948
.
il y a 17 ans
Keith Whitwell
86e529ad90
draw: use lookup tables to avoid calling pow() in LIT opcode
il y a 17 ans
Keith Whitwell
e1590abb17
mesa: pre-swizzle normal scale state value
il y a 17 ans
Keith Whitwell
a2b1c46535
mesa: evaluate _NeedEyeCoords prior to generating internal vertex shader
il y a 17 ans
Keith Whitwell
6172f1295c
draw: add a debug-print which can be called from inside generated shaders
il y a 17 ans
Keith Whitwell
6b3723ee8d
rtasm: add some helpers for calling out from generated code
il y a 17 ans
Keith Whitwell
feceb43948
mesa: save a temp on normalizes
il y a 17 ans
Keith Whitwell
e841b92d9c
mesa: further degenerate the special case lit substitute
il y a 17 ans
Keith Whitwell
333d377bbd
glapi: fix include path & make build work
il y a 17 ans
Keith Whitwell
0ac2f7955c
mesa: don't emit LIT instruction when mat shininess known to be zero
Use a faster path in that case & make gears go faster.
il y a 17 ans
Keith Whitwell
3b41d619a1
draw: faster LIT(), incorrect though
il y a 17 ans
Keith Whitwell
adc1f88fc9
mesa: do object-space lighting in ffvertex_prog.c
Start pulling over some of the optimizations from the fixed function
paths.
il y a 17 ans
Keith Whitwell
7106da1360
draw: correct but slow LIT() in aos varient
il y a 17 ans
Keith Whitwell
43df4642f1
draw: tweak x87_emit_ex2 to avoid changing x87 fpu settings
il y a 17 ans
Keith Whitwell
260001430b
draw: use aligned movs within draw_vs_aos.c
il y a 17 ans
Keith Whitwell
65cb09249e
draw: for debug, do rhw divide in aos_sse viewport calcs
il y a 17 ans
Keith Whitwell
6780a6dede
draw: shortcircuit shuffle in aos_sse when possible
il y a 17 ans
Keith Whitwell
7b25c1a403
draw: remove FPU_MANIP ifdef
il y a 17 ans
Keith Whitwell
05029c919d
draw: clean up masked writes in aos sse, make some xmm function names clearer
il y a 17 ans
Keith Whitwell
c684ffa02d
draw: clean up internal immediates in aos sse
il y a 17 ans
Keith Whitwell
a5c3b499fa
draw: fse works with elts, remove assert
il y a 17 ans