Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pack fragment program outputs to be consistant with vertex programs. | Brian | 2007-10-09 | 4 | -51/+24 |
| | | | | | | | 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 linked fragment shader inputs (if present) to determine which outputs ↵ | Brian | 2007-10-09 | 1 | -1/+8 |
| | | | | are needed. | ||||
* | use different temps in exec_tex() for bias | Brian | 2007-10-03 | 1 | -5/+5 |
| | |||||
* | updated comments | Brian | 2007-10-03 | 1 | -14/+4 |
| | |||||
* | Add outputs_written bitfield to pipe_shader_state, use it to determine if ↵ | Brian | 2007-10-03 | 3 | -19/+37 |
| | | | | fragment shader writes Z. | ||||
* | Move XSTDCALL definition to p_compiler.h | Brian | 2007-10-03 | 3 | -18/+10 |
| | |||||
* | 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 |
| |