summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-18Code reorganization: split gallium and mesa makefiles.José Fonseca
In other words, don't build src/gallium source code from within src/mesa/Makefile. Also, allow to customize which gallium auxiliary dirs, driver driver, winsys dirs get built from the config/* files.
2008-02-17fix the buildZack Rusin
2008-02-16gallium: add missing mip level clampBrian
2008-02-16gallium: tweak texture filter min/mag thresholdsBrian
2008-02-16gallium: implement min vs. mag filter determination for non-mipmapped texturesBrian
Fixes tests/minmag.c
2008-02-15Cell: Enable code gen for SPE attribute fetchIan Romanick
Doubles are still unsupported.
2008-02-15Make this file build on non-SSE builds (e.g., Cell)Ian Romanick
2008-02-15Move cell_vertex_fetch.c for recent code reorg.Ian Romanick
2008-02-15Initial version of code gen for attribute fetchIan Romanick
2008-02-15Correct the convert to and from float instructionsIan Romanick
2008-02-15tgsi: pass through failure to sse-codegenerate for fragment programs too.Keith Whitwell
In particular, will fallback to interpreted execution for shaders with TEX instructions.
2008-02-15draw: subclass vertex shaders according to execution methodKeith Whitwell
Create new files for shaders compiled/executed with llvm, sse, exec respectively
2008-02-15softpipe: rename some functions to disambiguateKeith Whitwell
2008-02-15Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell
2008-02-15Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15Code reorganization: s/aux/auxiliary/ -- update build.José Fonseca
2008-02-15Code reorganization: s/aux/auxiliary/.José Fonseca
"aux" is a reserved name on Windows (X_X)
2008-02-15gallium: reorganize fragment shader execution, unbreak sseKeith Whitwell
This is probably going to get further reworked in the near future. Right now there's a new interface wrapped around each shader execution mode - exec, sse2, llvm. The llvm code was disabled already and has just been moved as-is to a new file, whereas the sse2 and exec code is actually enabled. The way the interfaces has turned out suggests to me that the correct approach is to actually have each shader include a pointer to a quad stage which will do a better job of encapsulating the execution environment than what I have here -- that's a second step however.
2008-02-15tgsi: disable dummy sse2 texture codeKeith Whitwell
2008-02-15Code reorganization: placeholder for state-trackers.José Fonseca
This is meant for temporarily holding state-trackers, until they eventually find their way out of gallium tree.
2008-02-15Code reorganization: update build.José Fonseca
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.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.
2008-02-15vastly simplify indexingZack Rusin
2008-02-15redo indirectionZack Rusin
make all load's respect indirection
2008-02-15redo the way immediates are handledZack Rusin
implement madd start implementing arl
2008-02-15rename 'argument' to 'load' because that's what it doesZack Rusin
2008-02-15implement swizzling on writesZack Rusin
2008-02-15a call was missed during the last renameZack Rusin
2008-02-15gallium: Fix memory leak.Michal Krol
2008-02-15gallium: Fix memory leak.Michal Krol
2008-02-15gallium: Use align_free() to free aligned memories.Michal Krol
2008-02-15gallium: Fix build on Windows.Michal Krol
2008-02-15gallium: Use MALLOC().Michal Krol
2008-02-15gallium: Fix MSVC compiler warnings.José Fonseca
2008-02-14gallium: remove some debug assertions in vertex format validationBrian
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.
2008-02-14gallium: rearrange vertex info/layout validationBrian
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.
2008-02-14gallium: include draw_context.h to silence warningBrian
2008-02-14gallium: minor function renamingBrian
2008-02-14gallium: new tgsi_transform_shader() functionBrian
Used to apply transformations to TGSI shaders, such as register search and replace.
2008-02-14gallium: call draw_flush() in softpipe_flush()Brian
Without this, we might not get any rendering at SwapBuffers time when using the vbuf path.
2008-02-14gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().Brian
2008-02-14gallium: replace "interpolate" terminology with "eval" to better reflect ↵Brian
what's being done.
2008-02-14gallium: changes to polygon mode weren't detected in draw_unfilled stage.Brian
Need to reset stage->tri = unfilled_first_try in unfilled_flush() so that the front/back state is picked up.
2008-02-14gallium: rename draw_free_tmps->draw_free_temp_verts, ↵Brian
draw_alloc_tmps->draw_alloc_temp_verts
2008-02-14galllium: comments, minor clean-upsBrian
2008-02-14More name typeo fixes.Ian Romanick
2008-02-14s/spu_/spe_/g Ugh.Ian Romanick
2008-02-14Cell: pass pointers to stored memory valuesIan Romanick
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.
2008-02-14Cell: Fix unintended breakage from commit ↵Ian Romanick
1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba
2008-02-14Real-time assembler for Cell SPE.Ian Romanick