summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't parse mesa's rtasm asm module.José Fonseca2008-02-231-2/+1
|
* gallium: new draw stage for polygon stipple.Brian2008-02-218-0/+742
| | | | | | | | For hardware without native polygon stipple. Create a 32x32 alpha texture that encodes the stipple pattern. Modify the user's fragment program to sample the texture (with gl_FragCoord) and kill the fragment according to the texel value. Temporarily enabled in softpipe driver, replacing the sp_quad_stipple.c step.
* gallium: new AA point drawing stageBrian2008-02-217-1/+892
| | | | | | | AA points are drawn by converting the point to a quad, then modifying the user's fragment shader to compute a coverage value. The final fragment color's alpha is modulated by the coverage value. Fragments outside the point's radius are killed.
* 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: comments, white-space clean-upBrian2008-02-211-23/+30
|
* [PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systemsKeith Whitwell2008-02-212-35/+35
|
* [PATCH] gallium: include p_compiler.h for boolean defnKeith Whitwell2008-02-211-0/+2
|
* draw: vertex cache reworkKeith Whitwell2008-02-215-37/+53
| | | | Take a baby step to straightening out vertex paths.
* tgsi: print debug messages on failure to codegenerateKeith Whitwell2008-02-211-0/+6
|
* 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
|
* Test calling glTexSubImage2D mid-way through a frame.Brian2008-02-202-0/+224
|
* 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: Add missing "gallium/winsys" to SRC_DIRS to fix build.Ian Romanick2008-02-191-1/+1
|
* 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.)
* Windows (DDK) compilation support.José Fonseca2008-02-191-13/+36
| | | | It also works when cross compiling with Wine.
* Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca2008-02-1916-64/+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-1934-125/+60
| | | | | Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.