summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* gallium: fill in some blend/rasterizer template fields to make sure they're ↵Brian2008-02-211-0/+8
| | | | all valid, even if not relevant
* gallium: replace some ordinary assignments with pipe_reference_texture()Brian2008-02-201-3/+6
| | | | This fixes at least one instance of dereferencing an invalid texture pointer.
* gallium: new pipe->texture_update() functionBrian2008-02-201-4/+10
| | | | | Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
* gallium: mark texture object data dirty in do_copy_texsubimage()Brian2008-02-201-0/+4
|
* gallium: re-enable GenerateMipmap callsBrian2008-02-201-17/+2
|
* gallium: state tracker didn't always notify drivers of texobj data changesBrian2008-02-208-71/+115
| | | | | | | | 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.
* Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca2008-02-192-1/+8
|
* Bring in ppc spe rtasm into gallium's rtasm module.José Fonseca2008-02-193-700/+0
| | | | Moving files since these are not being used outside gallium.
* Simplify makefile boilerplate code.José Fonseca2008-02-191-3/+3
| | | | | Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
* Use gallium's rtasm module.José Fonseca2008-02-191-1/+0
|
* Update for llvm -> gallivm rename.José Fonseca2008-02-181-2/+2
|
* Update scons build for new code layout.José Fonseca2008-02-182-208/+10
|
* Code reorganization: split gallium and mesa makefiles.José Fonseca2008-02-182-122/+8
| | | | | | | 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.
* Move cell_vertex_fetch.c for recent code reorg.Ian Romanick2008-02-151-392/+0
|
* Initial version of code gen for attribute fetchIan Romanick2008-02-151-0/+392
|
* Correct the convert to and from float instructionsIan Romanick2008-02-152-4/+42
|
* draw: subclass vertex shaders according to execution methodKeith Whitwell2008-02-151-0/+3
| | | | | Create new files for shaders compiled/executed with llvm, sse, exec respectively
* Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell2008-02-152-34/+34
|\
| * Code reorganization: s/aux/auxiliary/ -- update build.José Fonseca2008-02-152-34/+34
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell2008-02-15371-91106/+833
|\| | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c
| * Code reorganization: update build.José Fonseca2008-02-1523-85/+86
| | | | | | | | | | | | | | | | | | 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.
| * Code reorganization: move files into their places.José Fonseca2008-02-15342-90658/+0
| | | | | | | | This is in a separate commit to ensure renames are properly preserved.
| * vastly simplify indexingZack Rusin2008-02-154-130/+59
| |
| * redo indirectionZack Rusin2008-02-154-31/+130
| | | | | | | | make all load's respect indirection
| * redo the way immediates are handledZack Rusin2008-02-155-57/+190
| | | | | | | | | | implement madd start implementing arl
| * rename 'argument' to 'load' because that's what it doesZack Rusin2008-02-153-14/+14
| |
| * implement swizzling on writesZack Rusin2008-02-153-54/+56
| |
| * a call was missed during the last renameZack Rusin2008-02-151-1/+1
| |
| * gallium: Fix memory leak.Michal Krol2008-02-151-0/+3
| |
| * gallium: Fix memory leak.Michal Krol2008-02-151-0/+1
| |
| * gallium: Use align_free() to free aligned memories.Michal Krol2008-02-151-2/+2
| |
| * gallium: Fix build on Windows.Michal Krol2008-02-153-3/+3
| |
| * gallium: Use MALLOC().Michal Krol2008-02-151-2/+2
| |
| * gallium: Fix MSVC compiler warnings.José Fonseca2008-02-151-0/+4
| |
| * gallium: remove some debug assertions in vertex format validationBrian2008-02-141-12/+11
| | | | | | | | | | | | | | 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.
| * gallium: rearrange vertex info/layout validationBrian2008-02-144-76/+134
| | | | | | | | | | | | | | 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.
| * gallium: include draw_context.h to silence warningBrian2008-02-141-0/+1
| |
| * gallium: minor function renamingBrian2008-02-141-2/+2
| |
| * gallium: new tgsi_transform_shader() functionBrian2008-02-142-0/+292
| | | | | | | | | | Used to apply transformations to TGSI shaders, such as register search and replace.
| * gallium: call draw_flush() in softpipe_flush()Brian2008-02-141-0/+2
| | | | | | | | Without this, we might not get any rendering at SwapBuffers time when using the vbuf path.
| * gallium: fix some "instruction"/"declaration" mix-ups in tgsi_exec_prepare().Brian2008-02-141-3/+3
| |
| * gallium: replace "interpolate" terminology with "eval" to better reflect ↵Brian2008-02-141-11/+22
| | | | | | | | what's being done.
| * gallium: changes to polygon mode weren't detected in draw_unfilled stage.Brian2008-02-141-0/+2
| | | | | | | | | | Need to reset stage->tri = unfilled_first_try in unfilled_flush() so that the front/back state is picked up.
| * gallium: rename draw_free_tmps->draw_free_temp_verts, ↵Brian2008-02-1410-20/+20
| | | | | | | | draw_alloc_tmps->draw_alloc_temp_verts
| * galllium: comments, minor clean-upsBrian2008-02-143-4/+22
| |
| * More name typeo fixes.Ian Romanick2008-02-142-16/+16
| |
| * s/spu_/spe_/g Ugh.Ian Romanick2008-02-141-99/+99
| |
| * Cell: pass pointers to stored memory valuesIan Romanick2008-02-142-65/+98
| | | | | | | | | | | | | | | | | | | | 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.
| * Cell: Fix unintended breakage from commit ↵Ian Romanick2008-02-141-1/+1
| | | | | | | | 1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba
| * Real-time assembler for Cell SPE.Ian Romanick2008-02-143-0/+662
| |