Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | handle frag progs that write Z | Brian | 2007-10-03 | 1 | -13/+10 |
| | |||||
* | basic support for reading GL_DEPTH_COMPONENT | Brian | 2007-10-03 | 1 | -3/+34 |
| | |||||
* | added s8z24_get_tile() | Brian | 2007-10-03 | 1 | -0/+37 |
| | |||||
* | 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 |
| | |||||
* | Some minor cleanups. | Michel Dänzer | 2007-10-03 | 1 | -6/+5 |
| | |||||
* | Double amount of memory allocated for generated shader code. | Michel Dänzer | 2007-10-03 | 1 | -1/+1 |
| | | | | The code generated for the glxgears vertex shader didn't fit, causing a crash. | ||||
* | Track fragment and vertex shader code generation via pipe shader state objects. | Michel Dänzer | 2007-10-03 | 10 | -31/+45 |
| | | | | | Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask. | ||||
* | intel_winsys: Adapt to DRM changes (again). | Michel Dänzer | 2007-10-03 | 1 | -4/+4 |
| | | | | | It was decided after all to stick to 'pipes' here, even though the actual meaning is now 'planes'. | ||||
* | In vertex shaders also expect the template to be stack allocated | Zack Rusin | 2007-10-03 | 1 | -1/+5 |
| | | | | structure so allocate a private copy of it. | ||||
* | Unify the definitions of the 4 component dot product into one | Zack Rusin | 2007-10-03 | 3 | -25/+10 |
| | | | | location. | ||||
* | Unify handling of userplanes and regular planes to simplify | Zack Rusin | 2007-10-03 | 4 | -58/+30 |
| | | | | | the clipping code. (really done by Keith) | ||||
* | Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAM | Zack Rusin | 2007-10-03 | 3 | -13/+18 |
| | | | | which is being hit all the time. Done by Keith really. | ||||
* | Explain a little better what we're doing here. | Zack Rusin | 2007-10-03 | 1 | -3/+10 |
| | |||||
* | Make softpipe behave more like a real driver by always allocating something | Zack Rusin | 2007-10-03 | 4 | -14/+27 |
| | | | | in the state functions. | ||||
* | clean-ups | Brian | 2007-10-02 | 1 | -21/+12 |
| | |||||
* | Implement/use fragment kill results | Brian | 2007-10-02 | 3 | -9/+9 |
| | |||||
* | 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. | ||||
* | assert that program length > 1 (some code, plus END) | Brian | 2007-10-02 | 1 | -0/+3 |
| | |||||
* | added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for Glean | Brian | 2007-10-02 | 1 | -0/+2 |
| | |||||
* | Generate a texenv fragment program if there's a GLSL vertex shader but no ↵ | Brian | 2007-10-02 | 1 | -1/+2 |
| | | | | | | GLSL fragment shader. This allows Glean glsl1 test to get pretty far. | ||||
* | 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 | 5 | -28/+26 |
| | | | | | 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 |
| | |||||
* | remove dead code | Brian | 2007-10-02 | 1 | -13/+1 |
| | |||||
* | Move tgsi machine state init/allocations so they're done less frequently. | Brian | 2007-10-02 | 5 | -142/+179 |
| | | | | | 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. | ||||
* | comments/code for min/max_lod - revisit someday | Brian | 2007-10-01 | 1 | -0/+10 |
| | |||||
* | use i915_miptree_layout when using an i915 | Brian | 2007-10-01 | 1 | -1/+1 |
| | |||||
* | avoid updating vertex format when it doesn't really change | Brian | 2007-10-01 | 1 | -35/+39 |
| | |||||
* | don't crash in RasterPos if feedback not implemented yet | Brian | 2007-10-01 | 1 | -3/+6 |
| | |||||
* | disable debug printf | Brian | 2007-10-01 | 1 | -0/+2 |
| | |||||
* | don't crash when fog enabled, still not rendered correctly though | Brian | 2007-10-01 | 1 | -0/+4 |
| | |||||
* | remove specular color assertion (the path works) | Brian | 2007-10-01 | 1 | -1/+0 |
| | |||||
* | fix a few vert/frag program items to get i915 driver going again | Brian | 2007-10-01 | 5 | -16/+8 |
| | |||||
* | 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 bug causing unnecessary translations | Brian | 2007-09-28 | 1 | -1/+1 |
| | |||||
* | remove old debug code, fix warning | Brian | 2007-09-28 | 1 | -11/+0 |
| | |||||
* | fix st_use_program() | Brian | 2007-09-28 | 1 | -0/+3 |
| |