Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-02-22 | gallium/i915: overhaul of fragment shader compilation, constant/immediate ↵ | Brian | |
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. | |||
2008-02-22 | i915: include stdio.h | Brian | |
2008-02-22 | i915: include p_debug.h (resolves undefined assert()) | Brian | |
2008-02-22 | gallium: fix brokenb build | Brian | |
2008-02-22 | cell: added function prototypes to silence warnings | Brian | |
2008-02-22 | cell: fix build: s/dest/vertex/ | Brian | |
2008-02-23 | gallium: Countour MSVC's pickyness for structures returned by value. | José Fonseca | |
2008-02-23 | gallium: Wrap decls in extern "C". | José Fonseca | |
2008-02-23 | gallium: Add cso convenience routine (from Keith's patch). | José Fonseca | |
2008-02-23 | gallium: MSVC fixes. | José Fonseca | |
2008-02-23 | gallium: Fix build on Windows. | Michal Krol | |
2008-02-23 | gallium: Silence compiler warnings on Windows. | Michal Krol | |
2008-02-23 | gallium: Silence compiler warnings on Windows. | Michal Krol | |
2008-02-23 | gallium: Define intptr_t for Windows platform. | Michal Krol | |
2008-02-23 | gallium: Move align_pointer() to p_pointer.h. | Michal Krol | |
2008-02-23 | gallium: New file. | Michal Krol | |
2008-02-23 | Avoid building problematic module/drivers on windows. | José Fonseca | |
2008-02-21 | gallium: new draw stage for polygon stipple. | Brian | |
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. | |||
2008-02-21 | gallium: new AA point drawing stage | Brian | |
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. | |||
2008-02-21 | gallium: comments, white-space clean-up | Brian | |
2008-02-21 | [PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systems | Keith Whitwell | |
2008-02-21 | [PATCH] gallium: include p_compiler.h for boolean defn | Keith Whitwell | |
2008-02-21 | draw: vertex cache rework | Keith Whitwell | |
Take a baby step to straightening out vertex paths. | |||
2008-02-21 | tgsi: print debug messages on failure to codegenerate | Keith Whitwell | |
2008-02-21 | Cell: Remove erroneous ALIGN16_ATTRIB attributes | Ian Romanick | |
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. | |||
2008-02-21 | Cell: Add spu_dcache.c to Makefile. | Ian Romanick | |
This was erroneously missing in previous commits. | |||
2008-02-21 | Cell: Initial scalar implementation of spu_dcache_mark_dirty | Ian Romanick | |
2008-02-21 | Cell: Fix off-by-one error in spu_dcache_fetch_unaligned | Ian Romanick | |
An off-by-one error caused an extra qword to be fetched under certain alignment / size combinations. | |||
2008-02-21 | Cell: Initial pass at unified data cache | Ian Romanick | |
2008-02-20 | gallium: include p_inlines.h | Brian | |
2008-02-20 | gallium: s/pipe_reference_texture/pipe_texture_reference/ | Brian | |
2008-02-20 | gallium: re-fix some msvc warnings | Brian | |
2008-02-20 | cell: use pipe_texture_reference() | Brian | |
2008-02-20 | gallium: replace some ordinary assignments with pipe_reference_texture() | Brian | |
This fixes at least one instance of dereferencing an invalid texture pointer. | |||
2008-02-20 | gallium: fix bad ptr comparison | Brian | |
2008-02-20 | cell: rename cell_state_fs.c -> cell_state_shader.c | Brian | |
2008-02-20 | cell: init shader-related functions in cell_init_shader_functions() | Brian | |
2008-02-20 | cell: #includes to silence warnings | Brian | |
2008-02-20 | cell: plug in cell_set_sampler_texture | Brian | |
2008-02-20 | Remove obsolete files replaced by cell_pipe_state.c | Brian | |
2008-02-20 | cell: put most simple state-setter functions in new cell_pipe_state.c file | Brian | |
Also, re-org of texture/surface functions. | |||
2008-02-20 | gallium: re-org of i965 texture/surface code, functions | Brian | |
2008-02-20 | gallium: minor re-org of 915 surface/texture code | Brian | |
2008-02-20 | gallium: new pipe->texture_update() function | Brian | |
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc). | |||
2008-02-20 | gallium: use pipe_texture_reference() in sp_tile_cache_set_texture() | Brian | |
2008-02-19 | gallium: general clean-up of xlib winsys Makefile | Brian | |
2008-02-19 | gallium: initialize the killmask register to zero before running shader | Brian | |
This fixes mysterious missing fragments when running with SSE. | |||
2008-02-19 | gallium: add some casts to prevent likely msvc warnings | Brian | |
2008-02-19 | gallium: don't hard-code attrib slot=0 in setup_fragcoord_coeff() | Brian | |
2008-02-19 | gallium: implement correct sampling for RECT targets / unnormalized texcoords | Brian | |