Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added const qualifiers | Brian | 2007-10-18 | 2 | -4/+4 |
| | |||||
* | Corrected the file permissions in src/mesa/pipe. | Oliver McFadden | 2007-10-18 | 7 | -0/+0 |
| | |||||
* | fix logic for printing extended swizzles | Brian | 2007-10-15 | 1 | -13/+15 |
| | |||||
* | added code to print extended swizzles | Brian | 2007-10-12 | 1 | -0/+20 |
| | |||||
* | change exec_kilp() to only touch lowest four bits in kilmask | Brian | 2007-10-12 | 1 | -3/+3 |
| | |||||
* | Merge tgsi_mesa_compile_fp_program() and tgsi_mesa_compile_vp_program() into ↵ | Brian | 2007-10-10 | 2 | -291/+16 |
| | | | | tgsi_translate_mesa_program(). | ||||
* | start on a unified vertex/fragment program translation function | Brian | 2007-10-09 | 1 | -0/+194 |
| | |||||
* | Generate DCLs for temporaries. | Brian | 2007-10-09 | 1 | -1/+77 |
| | |||||
* | Finish up decls for packed fragment program outputs. | Brian | 2007-10-09 | 2 | -24/+31 |
| | |||||
* | Pack fragment program outputs to be consistant with vertex programs. | Brian | 2007-10-09 | 1 | -29/+2 |
| | | | | | | | Previously, output[0] was always Z and output[1] was color. Now output[0] will be color if Z is not written. In shade_quad() use the semantic info to determine which quantity is in which output slot. | ||||
* | update some comments | Brian | 2007-10-09 | 1 | -3/+3 |
| | |||||
* | More work on flow control for CAL/RET. | Brian | 2007-10-09 | 2 | -12/+31 |
| | |||||
* | New ATTRIB interpolation type for vertex program inputs/declarations. | Brian | 2007-10-09 | 4 | -4/+7 |
| | |||||
* | Don't emit semantic info for vertex program inputs. | Brian | 2007-10-09 | 1 | -7/+10 |
| | |||||
* | use different temps in exec_tex() for bias | Brian | 2007-10-03 | 1 | -5/+5 |
| | |||||
* | updated comments | Brian | 2007-10-03 | 1 | -14/+4 |
| | |||||
* | fix eq/neq bugs | Brian | 2007-10-03 | 1 | -16/+4 |
| | |||||
* | fix f/u mix-up in micro_trunc() | Brian | 2007-10-03 | 1 | -4/+4 |
| | |||||
* | move TEX code into exec_tex() | Brian | 2007-10-03 | 1 | -89/+125 |
| | |||||
* | clean-ups | Brian | 2007-10-02 | 1 | -21/+12 |
| | |||||
* | Implement/use fragment kill results | Brian | 2007-10-02 | 2 | -8/+8 |
| | |||||
* | Implement TGSI_OPCODE_SNE with micro_ne() | Brian | 2007-10-02 | 1 | -1/+20 |
| | |||||
* | Separate TGSI_OPCODE_KIL and TGSI_OPCODE_KILP (predicated). | Brian | 2007-10-02 | 4 | -6/+31 |
| | | | | | | These correspond to the NV and ARB-style fragment program KIL instructions. The former is really supposed to examine the NV condition codes but Mesa's GLSL compiler always emits unconditional KIL instructions. | ||||
* | Push mask stacks upon CAL, pop upon RET. | Brian | 2007-10-02 | 1 | -0/+19 |
| | | | | Still need to handle conditional RET statements... | ||||
* | added license and interpreter comments | Brian | 2007-10-02 | 1 | -0/+52 |
| | |||||
* | Implement CONT statement. | Brian | 2007-10-02 | 2 | -8/+26 |
| | |||||
* | added micro_trunc(), re-order some code | Brian | 2007-10-02 | 1 | -32/+47 |
| | |||||
* | Minor optimization: no-op CAL when ExecMask==0x0. | Brian | 2007-10-02 | 1 | -3/+6 |
| | |||||
* | Added TGSI_FILE_OUTPUT case in fetch_src_file_channel(). | Brian | 2007-10-02 | 1 | -0/+8 |
| | | | | | GLSL output variables (such as vertex varyings) can be read (they're not write-only). | ||||
* | Implement CAL/RET and a call stack for subroutines. | Brian | 2007-10-02 | 3 | -22/+37 |
| | | | | The glsl/brick.c shader demo runs now. | ||||
* | Added TGSI_OPCODE_END | Brian | 2007-10-02 | 4 | -28/+22 |
| | | | | | Halt program execution when we get to END instruction. The GLSL compiler puts subroutines after the end instruction so we have to stop before then. | ||||
* | Fold expand_program() into tgsi_exec_prepare() | Brian | 2007-10-02 | 2 | -88/+48 |
| | |||||
* | no more need for tgsi_exec_machine_run2(), remove dead code | Brian | 2007-10-02 | 2 | -59/+1 |
| | |||||
* | Move tgsi machine state init/allocations so they're done less frequently. | Brian | 2007-10-02 | 2 | -79/+105 |
| | | | | | This, plus expanding all instructions ahead of time, seems to have improved the performance of program execution by 8x or so. | ||||
* | checkpoint: unpack all instructions before interpretation. Actual looping ↵ | Brian | 2007-10-02 | 4 | -9/+130 |
| | | | | works. | ||||
* | Initial conditional execution support for loops and BRK instruction. | Brian | 2007-09-29 | 2 | -94/+110 |
| | | | | | Also, instead of passing cond mask to each micro op, just apply it in the store_dest() function. | ||||
* | remove unused tgsi_exec_cond_* types | Brian | 2007-09-29 | 1 | -24/+0 |
| | |||||
* | Initial implementation of IF/ELSE/ENDIF using conditional masking. | Brian | 2007-09-28 | 2 | -191/+124 |
| | | | | | | mach->CondMask controls writing to each of the 4 components in a quad. mach->CondMaskStack handles nested conditionals. Only a few of the micro ops (add/sub/mul/store) have been updated to obey CondMask at this time. | ||||
* | Fix some compiler warnings with -pedantic | Keith Whitwell | 2007-09-27 | 1 | -9/+9 |
| | |||||
* | Enable codegen based whenever __i386__ is defined. | Keith Whitwell | 2007-09-27 | 1 | -1/+1 |
| | |||||
* | Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵ | Brian | 2007-09-25 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | proper linking. Previously, programs were translated independently during validation. The problem is the translation to TGSI format, which packs shader input/outputs into continuous slots, depends on which vertex program is being paired with which fragment shader. Now, we look at the outputs of the vertex program in conjunction with the inputs of the fragment shader to be sure the attributes match up correctly. The new 'linked_program_pair' class keeps track of the associations between vertex and fragment shaders. It's also the place where the TGSI tokens are kept since they're no longer per-program state but per-linkage. Still a few loose ends, like implementing some kind of hash/lookup table for linked_program_pairs. | ||||
* | Enable SSE2 for FS. | michal | 2007-09-24 | 2 | -3/+250 |
| | |||||
* | added PSIZE | Brian | 2007-09-21 | 1 | -0/+2 |
| | |||||
* | Fix up some point size breakage. Start on fogcoord too. | Brian | 2007-09-21 | 1 | -2/+3 |
| | |||||
* | remove debug printfs | Brian | 2007-09-21 | 1 | -2/+0 |
| | |||||
* | remove SEMANTIC_TEXCOORD | Brian | 2007-09-21 | 1 | -2/+0 |
| | |||||
* | Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC. | Brian | 2007-09-21 | 1 | -3/+2 |
| | |||||
* | minor renaming | Brian | 2007-09-21 | 1 | -7/+7 |
| | |||||
* | pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵ | Brian | 2007-09-21 | 2 | -2/+20 |
| | | | | output DECs | ||||
* | Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵ | Brian | 2007-09-21 | 2 | -14/+33 |
| | | | | produce DCLs. |