José Fonseca
92fcbf6e7b
Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
преди 17 години
José Fonseca
6d3831b11d
Code reorganization: placeholder for state-trackers.
This is meant for temporarily holding state-trackers,
until they eventually find their way out of gallium tree.
преди 17 години
José Fonseca
6acd63a498
Code reorganization: update build.
Update the Makefiles and includes for the new paths.
Note that there hasn't been no separation of the Makefiles yet, and make is
jumping all over the place. That will be taken care shortly. But for now, make
should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm
might require some minor tweaks.
преди 17 години
José Fonseca
b642730be9
Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
преди 17 години
Zack Rusin
4593be34b2
vastly simplify indexing
преди 17 години
Zack Rusin
cf51d5c421
redo indirection
make all load's respect indirection
преди 17 години
Zack Rusin
f70cc89dbc
redo the way immediates are handled
implement madd
start implementing arl
преди 17 години
Zack Rusin
ae3375987f
rename 'argument' to 'load' because that's what it does
преди 17 години
Zack Rusin
d0364584be
implement swizzling on writes
преди 17 години
Zack Rusin
13d9e616f6
a call was missed during the last rename
преди 17 години
Michal Krol
19780237ff
gallium: Fix memory leak.
преди 17 години
Michal Krol
742c5d3e1b
gallium: Fix memory leak.
преди 17 години
Michal Krol
6a7820d31f
gallium: Use align_free() to free aligned memories.
преди 17 години
Michal Krol
d3cd39493c
gallium: Fix build on Windows.
преди 17 години
Michal Krol
3f1b712d0a
gallium: Use MALLOC().
преди 17 години
José Fonseca
d8ae972fd0
gallium: Fix MSVC compiler warnings.
преди 17 години
Brian
663f4aaae6
gallium: remove some debug assertions in vertex format validation
If a fragment shader references an input for which there's no vertex
shader output (ex: texcoord3), use vertex output 0 by default.
Basically, the attribute's value will be undefined. The shader writer
should never rely on undefined fragment shader inputs anyway.
преди 17 години
Brian
3d81a956b9
gallium: rearrange vertex info/layout validation
Delay validation until someone really needs the vertex layout (vbuf alloc
vertex buffer or point/line/tri setup/rendering).
This will allow the vertex size to change depending on whether we're
drawing points, lines or triangles.
преди 17 години
Brian
1b6540b4b1
gallium: include draw_context.h to silence warning
преди 17 години
Brian
d2b14311d9
gallium: minor function renaming
преди 17 години
Brian
4c1403f667
gallium: new tgsi_transform_shader() function
Used to apply transformations to TGSI shaders, such as register search and
replace.
преди 17 години
Brian
ca2f2c7664
gallium: new pgon-mode.c test
A two-triangle strip is drawn such that the first tri is front-facing and
the second tri is back-facing. Use different front/back polygon modes.
преди 17 години
Brian
5e345a653b
gallium: call draw_flush() in softpipe_flush()
Without this, we might not get any rendering at SwapBuffers time when using the vbuf path.
преди 17 години
Brian
7a3e59d236
gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().
преди 17 години
Brian
59cc1f4e62
gallium: replace "interpolate" terminology with "eval" to better reflect what's being done.
преди 17 години
Brian
4f32c53237
gallium: changes to polygon mode weren't detected in draw_unfilled stage.
Need to reset stage->tri = unfilled_first_try in unfilled_flush() so that the
front/back state is picked up.
преди 17 години
Brian
b08102a8f3
gallium: rename draw_free_tmps->draw_free_temp_verts, draw_alloc_tmps->draw_alloc_temp_verts
преди 17 години
Brian
e9c6c31651
galllium: comments, minor clean-ups
преди 17 години
Ian Romanick
bbd7aabe2b
More name typeo fixes.
преди 17 години
Ian Romanick
d4d9943b01
s/spu_/spe_/g Ugh.
преди 17 години
Ian Romanick
18fd3b7571
Cell: pass pointers to stored memory values
Several routines use shuffle patterns that are stored in memory. For
code gen, it is difficult to directly access the data segments. The
routines have been modified to be passed a pointer to a global table
of shuffle patterns.
This *should* be the last change to this file before switching over to
code gen.
преди 17 години
Ian Romanick
f1257fd794
Cell: Fix unintended breakage from commit 1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba
преди 17 години
Ian Romanick
77a1488620
Real-time assembler for Cell SPE.
преди 17 години
Ian Romanick
dd07e154d2
Fetch routines convert and transpose all 4 vertices at once.
преди 17 години
Ian Romanick
125451b9f0
Remove open-coded fetch functions
преди 17 години
Ian Romanick
ca1a2da645
Initial pass at vertex cache, more vertex fetch changes
This is just another step towards dynamic generate of vertex fetch code.
преди 17 години
Ian Romanick
c290367985
Vectorize a couple fetch functions
These C-coded vectorized functions are expected to be short lived.
They're basically a proof-of-concept for dynamically generated fetch
routines.
преди 17 години
Michel Dänzer
0230c56ed0
intel_winsys: Call st_notify_swapbuffers_complete() after buffer swap.
преди 17 години
Keith Whitwell
cf5ef20f43
gallium: Cleanups related to clears.
преди 17 години
Zack Rusin
2e75f39bc4
make swizzling on incoming arguments work
преди 17 години
Zack Rusin
12d5b078e8
get rid of the terrible auto-generated entry point
it's not used anymore.
преди 17 години
Zack Rusin
7e51d2a998
implement immediates and make them work
преди 17 години
Zack Rusin
c107d57210
try to load the consts correctly
преди 17 години
Keith Whitwell
66640c4b58
x86: remove debug
преди 17 години
Keith Whitwell
8162d317d2
x86: emit absolute calls, as reallocating exec mem breaks relative ones
преди 17 години
Keith Whitwell
a3534a27bf
tgsi: fail gracefully when sse code can't emit shader
преди 17 години
Keith Whitwell
6046c54cc4
x86: reallocate exec mem when we run out
преди 17 години
Keith Whitwell
7f342a20d2
tgsi: include more of the register info in debug dumps
преди 17 години
Michel Dänzer
e922adbe1d
gallium: pipe->surface_copy can flip the contents vertically when necessary.
Fixes gears being upside down on the box in demos/gearbox.
преди 17 години
Zack Rusin
4bb1a14d90
handle temporaries in llvm code generated paths
преди 17 години