summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-02-21gallium: fill in some blend/rasterizer template fields to make sure they're ↵Brian
all valid, even if not relevant
2008-02-20gallium: replace some ordinary assignments with pipe_reference_texture()Brian
This fixes at least one instance of dereferencing an invalid texture pointer.
2008-02-20gallium: new pipe->texture_update() functionBrian
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
2008-02-20gallium: mark texture object data dirty in do_copy_texsubimage()Brian
2008-02-20gallium: re-enable GenerateMipmap callsBrian
2008-02-20gallium: state tracker didn't always notify drivers of texobj data changesBrian
Calling glTexSubImage() or glTexImage() to replace texture data didn't reliably cause pipe->set_sampler_texture() to get called so drivers didn't always get notified of new texture data. The st_texture_object->pt pointer doesn't always indicate changed data so added a dirtyData field.
2008-02-19Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca
2008-02-19Bring in ppc spe rtasm into gallium's rtasm module.José Fonseca
Moving files since these are not being used outside gallium.
2008-02-19Simplify makefile boilerplate code.José Fonseca
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
2008-02-19Use gallium's rtasm module.José Fonseca
2008-02-18Update for llvm -> gallivm rename.José Fonseca
2008-02-18Update scons build for new code layout.José Fonseca
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-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-15draw: subclass vertex shaders according to execution methodKeith Whitwell
Create new files for shaders compiled/executed with llvm, sse, exec respectively
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-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: 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.