Commit graph

27608 commits

Author SHA1 Message Date
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
Keith Whitwell
86e529ad90 draw: use lookup tables to avoid calling pow() in LIT opcode 2008-05-24 16:31:11 +01:00
Keith Whitwell
6172f1295c draw: add a debug-print which can be called from inside generated shaders 2008-05-24 13:22:29 +01:00
Keith Whitwell
6b3723ee8d rtasm: add some helpers for calling out from generated code 2008-05-24 13:22:15 +01:00
José Fonseca
345eb7fb70 gallium: Poor-man profiler for win32 kernel. 2008-05-24 19:25:33 +09:00
José Fonseca
059a652d64 scons: New profile build. 2008-05-24 19:25:02 +09:00
Jakob Bornecrantz
7fbb61eedd i915: Revert accidental change 2008-05-23 16:55:30 +02:00
Jakob Bornecrantz
5bf6ffb0b2 i915: Improved vertex buffer performance 2008-05-23 16:30:00 +02:00
Jakob Bornecrantz
845db16dbe i915: Fix for edgeflags 2008-05-23 16:26:20 +02:00
Jakob Bornecrantz
a3dbd412df Merge branch 'gallium-i915-current' into gallium-0.1 2008-05-23 16:26:14 +02:00
Jakob Bornecrantz
d607a02da9 i915: Made EGL report the actual modes on the screen/output pair 2008-05-23 11:24:33 +02:00
Thomas Hellstrom
01cc1eebe9 i915: Make batchbuffers larger. 2008-05-23 11:14:12 +02:00
Thomas Hellstrom
45fd9ec462 i915: Use the malloc pool for constant buffers since they don't go to the GPU directly. 2008-05-23 11:02:14 +02:00
Keith Whitwell
3b41d619a1 draw: faster LIT(), incorrect though 2008-05-23 09:16:58 +01:00
Keith Whitwell
7106da1360 draw: correct but slow LIT() in aos varient 2008-05-23 09:16:58 +01:00
Keith Whitwell
43df4642f1 draw: tweak x87_emit_ex2 to avoid changing x87 fpu settings 2008-05-23 09:16:58 +01:00
Keith Whitwell
260001430b draw: use aligned movs within draw_vs_aos.c 2008-05-23 09:16:58 +01:00
Keith Whitwell
65cb09249e draw: for debug, do rhw divide in aos_sse viewport calcs 2008-05-23 09:16:58 +01:00
Keith Whitwell
6780a6dede draw: shortcircuit shuffle in aos_sse when possible 2008-05-23 09:16:58 +01:00
Keith Whitwell
7b25c1a403 draw: remove FPU_MANIP ifdef 2008-05-23 09:16:58 +01:00
Keith Whitwell
05029c919d draw: clean up masked writes in aos sse, make some xmm function names clearer 2008-05-23 09:16:57 +01:00
Keith Whitwell
c684ffa02d draw: clean up internal immediates in aos sse 2008-05-23 09:16:57 +01:00
Keith Whitwell
a5c3b499fa draw: fse works with elts, remove assert 2008-05-23 09:16:57 +01:00
Keith Whitwell
6f407b0724 rtasm: remove debug 2008-05-23 09:16:57 +01:00
Keith Whitwell
5b1bd30f22 draw: when preloading args to x87 stack, need to use reverse order 2008-05-23 09:16:57 +01:00
Keith Whitwell
083f3f5c32 draw: avoid a pointless mov in many sse opcodes 2008-05-23 09:16:57 +01:00
Keith Whitwell
0a7a0d79f6 draw: fix x87_ex2 and partially fix lit insn 2008-05-23 09:16:56 +01:00
Keith Whitwell
2302a5d3c1 draw: fix fpu control word manipulations 2008-05-23 09:16:56 +01:00
Keith Whitwell
194a7be28f draw: fix vs aos internal/machine state 2008-05-23 09:16:56 +01:00
Keith Whitwell
889473b3f5 draw: add viewport to varient state 2008-05-23 09:16:56 +01:00
Keith Whitwell
030af06691 rtasm: add x87 instructions and debug-check for x87 stack usage 2008-05-23 09:16:56 +01:00
Keith Whitwell
1ba10e5ccf draw: add aos vertex shader varient 2008-05-23 09:16:56 +01:00
Keith Whitwell
ba738a3135 draw: mark varient functions as PIPE_CDECL 2008-05-23 09:16:56 +01:00
Keith Whitwell
b5c8b3fba6 translate: mark functions as PIPE_CDECL 2008-05-23 09:16:55 +01:00
Keith Whitwell
9343779a8c gallium: define PIPE_CDECL calling convention, which really is cdecl everywhere 2008-05-23 09:16:55 +01:00
Keith Whitwell
d3e64caef6 rtasm: export debug reg print function 2008-05-23 09:16:55 +01:00
Keith Whitwell
8618e6aa16 translate: remove spurious comment 2008-05-23 09:16:55 +01:00
Keith Whitwell
9232f0c023 rtasm: remove unused struct member 2008-05-23 09:16:55 +01:00
Keith Whitwell
7c99d7fe60 draw: create specialized vs varients incorporating fetch & emit 2008-05-23 09:16:55 +01:00
Keith Whitwell
2f0d1396e4 draw: move some state into a new 'vs' area 2008-05-23 09:16:55 +01:00
Keith Whitwell
b23706454b draw: get rid of fetch-shade-emit frontend hack
The code is now living in it's intended place as a pt middle end.
2008-05-23 09:16:54 +01:00
Keith Whitwell
8b25b5256f draw: remove disabled non-sse swizzle code 2008-05-23 09:16:54 +01:00
José Fonseca
781676c7cc pipebuffer: More robust face null pointers.
It is really the caller responsibility not to call pipebuffer with null
buffers, etc. But don't let the crash happen here, and still asserting
early.
2008-05-22 21:54:41 +09:00
José Fonseca
bd4eec0561 pipebuffer: Don't retry allocating in slab suballocator.
In pipebuffer, fencing is done at on a level above sub-allocation, so no
matter how many times slab allocator retries no buffer will be freed. The
pipebuffer fencing implemention already retries allocating.
2008-05-22 20:33:17 +09:00
Brian Paul
d00c8a52f3 Merge branch 'gallium-0.1' into gallium-tex-surfaces 2008-05-19 12:48:06 -06:00