Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cell: fix incorrect bitmask in spe_load_uint() | Brian Paul | 2008-10-09 | 1 | -1/+1 |
| | |||||
* | mesa: toggle colormask values with r/g/b keys in tri-mask-tri.c | Brian Paul | 2008-10-09 | 1 | -60/+63 |
| | | | | Plus misc clean-up. | ||||
* | cell: implement basic TXP instruction in fragment shaders | Brian Paul | 2008-10-09 | 3 | -24/+138 |
| | | | | | | Lots of restrictions for now (one 2D texture, no mipmaps, etc.) for now but basic texture demos work. TEX, TXD, TXP do the same thing for the time being. | ||||
* | mesa: simple multiple textures test | Brian Paul | 2008-10-09 | 2 | -0/+305 |
| | |||||
* | cell: better immediate value allocation, better comments | Brian Paul | 2008-10-09 | 1 | -19/+20 |
| | |||||
* | cell: massage the emit functions to get better instruction scheduling | Brian Paul | 2008-10-09 | 1 | -56/+74 |
| | |||||
* | cell: more accurate comments | Brian Paul | 2008-10-09 | 1 | -5/+6 |
| | |||||
* | gallium: silence warning | Alan Hourihane | 2008-10-10 | 1 | -1/+1 |
| | |||||
* | Gallivm: cleanup soa storage. | Stephane Marchesin | 2008-10-09 | 2 | -34/+12 |
| | |||||
* | cell: implement function calls from shader code. fslight demo runs now. | Brian Paul | 2008-10-08 | 4 | -76/+182 |
| | | | | | | | | | | | | Used for SIN, COS, EXP2, LOG2, POW instructions. TEX next. Fixed some bugs in MIN, MAX, DP3, DP4, DPH instructions. In rtasm code: Special-case spe_lqd(), spe_stqd() functions so they take byte offsets but low-order 4 bits are shifted out. This makes things consistant with SPU assembly language conventions. Added spe_get_registers_used() function. | ||||
* | cell: implement more built-in shader functions, link spu code with -lm | Brian Paul | 2008-10-08 | 2 | -22/+45 |
| | |||||
* | cell: increase SPU_MAX_FRAGMENT_PROGRAM_INSTS | Brian Paul | 2008-10-08 | 1 | -1/+1 |
| | |||||
* | gallium: asst. clean-ups | Brian Paul | 2008-10-08 | 1 | -11/+17 |
| | | | | Don't use register qualifier. Doxygen-ize comments. Remove 'extern'. | ||||
* | gallium: better instruction printing for SPE code | Brian Paul | 2008-10-08 | 1 | -10/+36 |
| | |||||
* | mesa: use the shaderutil.c helper functions | Brian Paul | 2008-10-07 | 2 | -84/+17 |
| | |||||
* | cell: add support for fragment shader constant buffers | Brian Paul | 2008-10-07 | 7 | -7/+63 |
| | |||||
* | cell: fix incorrect extended swizzle term code in get_src_reg() | Brian Paul | 2008-10-07 | 1 | -24/+26 |
| | |||||
* | cell: fix formatting | Brian Paul | 2008-10-07 | 1 | -6/+3 |
| | |||||
* | cell: remove old code | Brian Paul | 2008-10-07 | 1 | -26/+0 |
| | |||||
* | Gallivm: reorder the functions alphabetically so I can work on it. | Stephane Marchesin | 2008-10-07 | 1 | -121/+119 |
| | |||||
* | Merge branch 'gallium-0.2' of ↵ | Stephane Marchesin | 2008-10-07 | 7 | -2/+485 |
|\ | | | | | | | git+ssh://[email protected]/git/mesa/mesa into gallium-0.2 | ||||
| * | cell: memset() key to zero | Brian Paul | 2008-10-07 | 1 | -0/+1 |
| | | |||||
| * | cell: use new keymap to save/re-use fragment ops code | Brian Paul | 2008-10-07 | 3 | -0/+103 |
| | | |||||
| * | gallium: added general-purpose key->data map/lookup container | Brian Paul | 2008-10-07 | 4 | -2/+381 |
| | | |||||
* | | Progs: hook the glsl identity example into the makefile. | Stephane Marchesin | 2008-10-07 | 1 | -0/+1 |
|/ | |||||
* | Progs: add a trivial glsl test, useful for gallium driver bringup/debug. | Stephane Marchesin | 2008-10-07 | 1 | -0/+282 |
| | |||||
* | Gallivm: don't say hello, it's rude. | Stephane Marchesin | 2008-10-07 | 1 | -1/+0 |
| | |||||
* | Merge branch 'gallium-0.2' of ↵ | Stephane Marchesin | 2008-10-07 | 5 | -4/+12 |
|\ | | | | | | | git+ssh://[email protected]/git/mesa/mesa into gallium-0.2 | ||||
| * | gallium: Introduce PIPE_ARCH_SSE define for SSE support. | José Fonseca | 2008-10-07 | 5 | -4/+12 |
| | | | | | | | | | | | | | | Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build. | ||||
* | | Gallivm: fix the constant layout, this gets a bunch of progs/ working. ↵ | Stephane Marchesin | 2008-10-07 | 6 | -21/+78 |
|/ | | | | Notably, gears doesn't. | ||||
* | Mesa: fix the case where there are no vertex attributes. | Stephane Marchesin | 2008-10-06 | 1 | -0/+2 |
| | |||||
* | CELL: changes to generate SPU code for stenciling | Robert Ellison | 2008-10-03 | 12 | -146/+1091 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This set of code changes are for stencil code generation support. Both one-sided and two-sided stenciling are supported. In addition to the raw code generation changes, these changes had to be made elsewhere in the system: - Added new "register set" feature to the SPE assembly generation. A "register set" is a way to allocate multiple registers and free them all at the same time, delegating register allocation management to the spe_function unit. It's quite useful in complex register allocation schemes (like stenciling). - Added and improved SPE macro calculations. These are operations between registers and unsigned integer immediates. In many cases, the calculation can be performed with a single instruction; the macros will generate the single instruction if possible, or generate a register load and register-to-register operation if not. These macro functions are: spe_load_uint() (which has new ways to load a value in a single instruction), spe_and_uint(), spe_xor_uint(), spe_compare_equal_uint(), and spe_compare_greater_uint(). - Added facing to fragment generation. While rendering, the rasterizer needs to be able to determine front- and back-facing fragments, in order to correctly apply two-sided stencil. That requires these changes: - Added front_winding field to the cell_command_render block, so that the state tracker could communicate to the rasterizer what it considered to be the front-facing direction. - Added fragment facing as an input to the fragment function. - Calculated facing is passed during emit_quad(). | ||||
* | draw: modify prefetching slightly | Keith Whitwell | 2008-10-02 | 1 | -4/+15 |
| | |||||
* | draw: don't keep refetching constant inputs | Keith Whitwell | 2008-10-02 | 6 | -62/+144 |
| | |||||
* | rtasm: add prefetch instructions | Keith Whitwell | 2008-10-02 | 2 | -0/+31 |
| | |||||
* | draw: add streamlined paths for fetching linear verts | Keith Whitwell | 2008-10-02 | 3 | -66/+134 |
| | |||||
* | mesa: Fix compiler warnings on Windows. | Michal Krol | 2008-10-02 | 2 | -2/+2 |
| | |||||
* | Gallivm: add slt. glxgears should be running, except it isn't. | Stephane Marchesin | 2008-10-02 | 4 | -66/+101 |
| | |||||
* | Gallivm: port to llvm 2.4. | Stephane Marchesin | 2008-10-02 | 6 | -149/+150 |
| | |||||
* | Gallivm: fix off-by-one. | Stephane Marchesin | 2008-10-02 | 1 | -1/+1 |
| | |||||
* | Gallivm: need to link with libstdc++ for llvm. | Stephane Marchesin | 2008-10-02 | 1 | -1/+1 |
| | |||||
* | Gallivm: more instructions. | Stephane Marchesin | 2008-10-02 | 3 | -8/+73 |
| | |||||
* | Gallivm: make it compile again, add some opcodes. | Stephane Marchesin | 2008-10-02 | 5 | -485/+771 |
| | |||||
* | mesa: fix temp register allocation problems. | Brian Paul | 2008-10-02 | 1 | -0/+15 |
| | | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units). | ||||
* | egl: check for null ptr/name | Brian Paul | 2008-10-02 | 1 | -1/+4 |
| | |||||
* | egl: remove space after -L flag | Brian Paul | 2008-10-02 | 1 | -1/+1 |
| | |||||
* | Add -msse and -msse2 to the *-x86 configs. | José Fonseca | 2008-10-01 | 2 | -2/+3 |
| | |||||
* | util: No-op u_sse.h outside PIPE_ARCH_X86/X86_64. | José Fonseca | 2008-10-01 | 1 | -1/+6 |
| | |||||
* | tgsi: Include p_config.h. | José Fonseca | 2008-10-01 | 1 | -0/+2 |
| | |||||
* | cell: Fixed usage of MAX_INSTRUCTIONS to use new MAX_PROGRAM_INSTRUCTIONS ↵ | Jonathan White | 2008-09-30 | 1 | -10/+4 |
| | | | | instead of old MAX_NV_XXX definitions in order to allow Cell TGSI fragment program generator to work again. |