Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: fix bad ptr assignment | Brian | 2008-02-25 | 1 | -1/+1 |
| | |||||
* | gallium/i915: use draw_find_vs_output() directly, fix broken fogcoords. | Brian | 2008-02-25 | 1 | -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() directly | Brian | 2008-02-25 | 1 | -32/+7 |
| | |||||
* | gallium: modify draw_find_vs_output() to search vertex shader outputs | Brian | 2008-02-25 | 1 | -3/+21 |
| | | | | | | | | | | This simplifies drivers using the draw module and removes the last dependency on vertex-shader "internals". Since the draw module is producing the post-transformed vertices, it makes sense to ask it where specific vertex attributes are located. This could also simplify some things in the state tracker code for selection, feedback, rasterpos... | ||||
* | gallium/i915: Use hardware rendering, unless INTEL_SP env var is set | Brian | 2008-02-25 | 1 | -1/+2 |
| | |||||
* | gallium/i915: added SGT/SLE opcodes | Brian | 2008-02-25 | 1 | -0/+31 |
| | |||||
* | Make the pipe headers C++ friendly. | José Fonseca | 2008-02-25 | 8 | -14/+75 |
| | |||||
* | Remove files of unsupported build systems. | José Fonseca | 2008-02-25 | 28 | -2996/+0 |
| | |||||
* | Replace standand library functions by portable ones. | José Fonseca | 2008-02-25 | 2 | -20/+20 |
| | |||||
* | Add Zack's comments about CSOs. | José Fonseca | 2008-02-25 | 1 | -5/+46 |
| | |||||
* | Add new files. | José Fonseca | 2008-02-24 | 3 | -0/+8 |
| | |||||
* | gallium: Fix MSVC warnings. | José Fonseca | 2008-02-24 | 1 | -2/+2 |
| | |||||
* | gallium: disable early Z test if fragment shader contains KIL instruction. | Brian | 2008-02-23 | 3 | -11/+19 |
| | | | | | Use tgsi_scan_shader() to determine if the fragment shader uses KIL or writes fragment.z | ||||
* | gallium: added TGSI_FILE_COUNT | Brian | 2008-02-23 | 1 | -0/+2 |
| | |||||
* | gallium: added new tgsi_scan.c / tgsi_scan_shader() function | Brian | 2008-02-23 | 3 | -0/+175 |
| | | | | Used to get information about registers, instructions used in a shader. | ||||
* | gallium: MSVC fixes. | José Fonseca | 2008-02-24 | 3 | -5/+7 |
| | |||||
* | Revamp scons usage. | José Fonseca | 2008-02-23 | 2 | -13/+5 |
| | |||||
* | Bring in several forgotten MSVC fixes. | José Fonseca | 2008-02-23 | 7 | -7/+18 |
| | |||||
* | Fix typo. | José Fonseca | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | gallium: fix a state validation bug found w/ pointblast.c | Brian | 2008-02-22 | 1 | -0/+4 |
| | |||||
* | gallium: fix bug in which wide point stage overrode the aapoint stage | Brian | 2008-02-22 | 1 | -3/+13 |
| | | | | Also, simplify the logic a bit. | ||||
* | gallium/i915: overhaul of fragment shader compilation, constant/immediate ↵ | Brian | 2008-02-22 | 7 | -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. | ||||
* | i915: include stdio.h | Brian | 2008-02-22 | 1 | -0/+1 |
| | |||||
* | i915: include p_debug.h (resolves undefined assert()) | Brian | 2008-02-22 | 1 | -0/+1 |
| | |||||
* | gallium: fix brokenb build | Brian | 2008-02-22 | 1 | -1/+1 |
| | |||||
* | cell: added function prototypes to silence warnings | Brian | 2008-02-22 | 2 | -0/+6 |
| | |||||
* | cell: fix build: s/dest/vertex/ | Brian | 2008-02-22 | 1 | -1/+1 |
| | |||||
* | gallium: Countour MSVC's pickyness for structures returned by value. | José Fonseca | 2008-02-23 | 1 | -4/+2 |
| | |||||
* | gallium: Wrap decls in extern "C". | José Fonseca | 2008-02-23 | 2 | -0/+22 |
| | |||||
* | gallium: Add cso convenience routine (from Keith's patch). | José Fonseca | 2008-02-23 | 2 | -0/+29 |
| | |||||
* | gallium: MSVC fixes. | José Fonseca | 2008-02-23 | 1 | -3/+3 |
| | |||||
* | gallium: Fix build on Windows. | Michal Krol | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | gallium: Silence compiler warnings on Windows. | Michal Krol | 2008-02-23 | 1 | -9/+10 |
| | |||||
* | gallium: Silence compiler warnings on Windows. | Michal Krol | 2008-02-23 | 1 | -3/+3 |
| | |||||
* | gallium: Define intptr_t for Windows platform. | Michal Krol | 2008-02-23 | 1 | -1/+3 |
| | |||||
* | gallium: Move align_pointer() to p_pointer.h. | Michal Krol | 2008-02-23 | 1 | -27/+1 |
| | |||||
* | gallium: New file. | Michal Krol | 2008-02-23 | 1 | -0/+87 |
| | |||||
* | Avoid building problematic module/drivers on windows. | José Fonseca | 2008-02-23 | 3 | -8/+15 |
| | |||||
* | gallium: new draw stage for polygon stipple. | Brian | 2008-02-21 | 8 | -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 stage | Brian | 2008-02-21 | 7 | -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 ↵ | Brian | 2008-02-21 | 1 | -0/+8 |
| | | | | all valid, even if not relevant | ||||
* | gallium: comments, white-space clean-up | Brian | 2008-02-21 | 1 | -23/+30 |
| | |||||
* | [PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systems | Keith Whitwell | 2008-02-21 | 2 | -35/+35 |
| | |||||
* | [PATCH] gallium: include p_compiler.h for boolean defn | Keith Whitwell | 2008-02-21 | 1 | -0/+2 |
| | |||||
* | draw: vertex cache rework | Keith Whitwell | 2008-02-21 | 5 | -37/+53 |
| | | | | Take a baby step to straightening out vertex paths. | ||||
* | tgsi: print debug messages on failure to codegenerate | Keith Whitwell | 2008-02-21 | 1 | -0/+6 |
| | |||||
* | Cell: Remove erroneous ALIGN16_ATTRIB attributes | Ian Romanick | 2008-02-21 | 1 | -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 Romanick | 2008-02-21 | 1 | -0/+1 |
| | | | | This was erroneously missing in previous commits. | ||||
* | Cell: Initial scalar implementation of spu_dcache_mark_dirty | Ian Romanick | 2008-02-21 | 1 | -6/+16 |
| | |||||
* | Cell: Fix off-by-one error in spu_dcache_fetch_unaligned | Ian Romanick | 2008-02-21 | 2 | -6/+6 |
| | | | | | An off-by-one error caused an extra qword to be fetched under certain alignment / size combinations. |