summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* gallium/i915: plug in aaline draw stageBrian2008-02-251-1/+5
|
* gallium/i915: make sure state is up to date in ↵Brian2008-02-251-1/+8
| | | | i915_vbuf_render_get_vertex_info(), also disable bogus assertion
* gallium/i915: need to recompute vertex info if vertex shader changesBrian2008-02-253-1/+4
|
* gallium/i915: call draw_flush() in i915_flush()Brian2008-02-251-0/+3
|
* gallium/i915: use draw_find_vs_output() directly, fix broken fogcoords.Brian2008-02-251-46/+53
| | | | | We now produce the correct 915 vertex layout regardless of the order in which fragment shader inputs are declared.
* softpipe: use draw_find_vs_output() directlyBrian2008-02-251-32/+7
|
* gallium/i915: added SGT/SLE opcodesBrian2008-02-251-0/+31
|
* Add new files.José Fonseca2008-02-241-0/+3
|
* gallium: disable early Z test if fragment shader contains KIL instruction.Brian2008-02-233-11/+19
| | | | | Use tgsi_scan_shader() to determine if the fragment shader uses KIL or writes fragment.z
* gallium: MSVC fixes.José Fonseca2008-02-241-2/+2
|
* Bring in several forgotten MSVC fixes.José Fonseca2008-02-232-3/+3
|
* gallium: fix a state validation bug found w/ pointblast.cBrian2008-02-221-0/+4
|
* gallium/i915: overhaul of fragment shader compilation, constant/immediate ↵Brian2008-02-227-150/+226
| | | | | | | | | | | | | | | | | | allocation Before, fragment shaders were translated to i915 hw code at bind time, rather than create time. Now there's an i915_fragment_shader struct with the expected contents that's created by i915_create_fs_state(). Translation to i915 code takes place there too. Immediates are handled correctly now. During program translation we keep track of which constant buffer slots are free (i.e. not referenced by the shader). Then the TGSI immediates and ancillary immediates (introduced for SIN/COS/etc) are put into those free slots. When it's time to upload the constant buffer, use the fp->constant_flags[] array to determine if we should grab an immediate from the shader, or a user-defined parameter from the gallium constant buffer.
* gallium: fix brokenb buildBrian2008-02-221-1/+1
|
* cell: added function prototypes to silence warningsBrian2008-02-222-0/+6
|
* cell: fix build: s/dest/vertex/Brian2008-02-221-1/+1
|
* gallium: Fix build on Windows.Michal Krol2008-02-231-1/+1
|
* gallium: Silence compiler warnings on Windows.Michal Krol2008-02-231-3/+3
|
* gallium: new draw stage for polygon stipple.Brian2008-02-213-0/+14
| | | | | | | | 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-211-1/+5
| | | | | | | 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.
* [PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systemsKeith Whitwell2008-02-212-35/+35
|
* 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
|
* cell: use pipe_texture_reference()Brian2008-02-201-1/+3
|
* gallium: replace some ordinary assignments with pipe_reference_texture()Brian2008-02-209-6/+18
| | | | 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-2014-24/+86
| | | | | Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
* gallium: use pipe_texture_reference() in sp_tile_cache_set_texture()Brian2008-02-203-4/+6
|
* 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-191-4/+8
| | | | | | 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
|
* Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca2008-02-191-2/+0
|
* Bring in ppc spe rtasm into gallium's rtasm module.José Fonseca2008-02-192-2/+2
| | | | Moving files since these are not being used outside gallium.