summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Cell: Remove erroneous ALIGN16_ATTRIB attributesIan Romanick2008-02-211-3/+3
| | | | | | | If a structure is marked as being aligned the SPE compiler performs extra optimizations (sadly, only -O2 is used) when reading the structure. Since most of the structures sent in batch buffers are only 8-byte aligned, this resulted in mysterous bugs with -O2.
* Cell: Add spu_dcache.c to Makefile.Ian Romanick2008-02-211-0/+1
| | | | This was erroneously missing in previous commits.
* Cell: Initial scalar implementation of spu_dcache_mark_dirtyIan Romanick2008-02-211-6/+16
|
* Cell: Fix off-by-one error in spu_dcache_fetch_unalignedIan Romanick2008-02-212-6/+6
| | | | | An off-by-one error caused an extra qword to be fetched under certain alignment / size combinations.
* Cell: Initial pass at unified data cacheIan Romanick2008-02-218-95/+194
|
* gallium: include p_inlines.hBrian2008-02-201-0/+1
|
* gallium: s/pipe_reference_texture/pipe_texture_reference/Brian2008-02-201-1/+1
|
* gallium: re-fix some msvc warningsBrian2008-02-201-8/+8
|
* cell: use pipe_texture_reference()Brian2008-02-201-1/+3
|
* gallium: replace some ordinary assignments with pipe_reference_texture()Brian2008-02-2010-9/+24
| | | | This fixes at least one instance of dereferencing an invalid texture pointer.
* gallium: fix bad ptr comparisonBrian2008-02-201-1/+1
|
* cell: rename cell_state_fs.c -> cell_state_shader.cBrian2008-02-202-1/+1
|
* cell: init shader-related functions in cell_init_shader_functions()Brian2008-02-204-36/+55
|
* cell: #includes to silence warningsBrian2008-02-202-0/+2
|
* cell: plug in cell_set_sampler_textureBrian2008-02-201-0/+2
|
* Remove obsolete files replaced by cell_pipe_state.cBrian2008-02-205-454/+0
|
* cell: put most simple state-setter functions in new cell_pipe_state.c fileBrian2008-02-207-124/+389
| | | | Also, re-org of texture/surface functions.
* gallium: re-org of i965 texture/surface code, functionsBrian2008-02-204-57/+60
|
* gallium: minor re-org of 915 surface/texture codeBrian2008-02-204-60/+84
|
* gallium: new pipe->texture_update() functionBrian2008-02-2016-28/+104
| | | | | 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.
* gallium: use pipe_texture_reference() in sp_tile_cache_set_texture()Brian2008-02-203-4/+6
|
* gallium: general clean-up of xlib winsys MakefileBrian2008-02-191-29/+12
|
* gallium: initialize the killmask register to zero before running shaderBrian2008-02-191-0/+3
| | | | This fixes mysterious missing fragments when running with SSE.
* gallium: add some casts to prevent likely msvc warningsBrian2008-02-191-3/+3
|
* gallium: don't hard-code attrib slot=0 in setup_fragcoord_coeff()Brian2008-02-191-23/+18
|
* gallium: implement correct sampling for RECT targets / unnormalized texcoordsBrian2008-02-191-25/+143
|
* gallium: updated cell buildBrian2008-02-192-13/+18
| | | | | | Building on Ian's Cell build fix. Put libcell.a in the gallium/drivers/cell/ directory. General Makefile clean-up, simplification, updated comments.
* Cell: emit vertex shaders and uniforms more intelligentlyIan Romanick2008-02-197-60/+85
|
* Cell: trivial clean-upsIan Romanick2008-02-191-6/+2
|
* Fix windows build.José Fonseca2008-02-193-3/+4
|
* Portability fixes.José Fonseca2008-02-191-12/+23
| | | | | | | Eliminate C99/C++ constructs. (We should actually disable gcc C99 syntax options if we are serious about portability.)
* Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca2008-02-1915-62/+532
|
* Bring in ppc spe rtasm into gallium's rtasm module.José Fonseca2008-02-197-17/+19
| | | | Moving files since these are not being used outside gallium.
* Add run-time cpu capabilities detection stubs.José Fonseca2008-02-195-3/+97
|
* Simplify makefile boilerplate code.José Fonseca2008-02-1913-90/+25
| | | | | 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-197-13/+8
|
* Move mm.c code into util module.José Fonseca2008-02-198-317/+19
| | | | | Using the u_ prefix to distingish the c source files that support gallium interfaces and those that have really no relation with gallium itself.
* Add copyright headers to all rtasm source files.José Fonseca2008-02-192-3/+48
|
* Rename rtasm files.José Fonseca2008-02-196-23/+25
|
* Bring rtasm from mesa to gallium.José Fonseca2008-02-199-0/+2033
|
* Initial scons support to build gallivm.José Fonseca2008-02-192-1/+21
| | | | Not yet complete.
* More llvm -> gallivm.José Fonseca2008-02-191-1/+1
| | | | Forgot this one on the last commit.
* gallium: move draw_set_viewport_state() call, plus code clean-up, remove ↵Brian2008-02-181-12/+4
| | | | obsolete comments
* gallium: call draw_flush() for scissor/stipple state changesBrian2008-02-181-0/+4
|
* gallium: remove the prototype/unused wide_line_aa() functionBrian2008-02-181-68/+1
|
* gallium: antialiased line drawingBrian2008-02-1810-10/+914
| | | | | | New draw/prim stage: draw_aaline. When installed, lines are replaced by textured quads to do antialiasing. The current user-defined fragment shader is modified to do a texture fetch and modulate fragment alpha.
* Update for llvm -> gallivm rename.José Fonseca2008-02-184-10/+6
|