Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix softpipe_clear() to handle ps->offset!=0 (such as when rendering to ↵ | Brian | 2007-10-10 | 1 | -2/+8 |
| | | | | texture and level!=0) | ||||
* | free/unreference pipe_surface in get_texel() | Brian | 2007-10-10 | 1 | -0/+2 |
| | |||||
* | use correct mipmap level in st_render_texture() | Brian | 2007-10-10 | 1 | -3/+3 |
| | |||||
* | use pipe_region_reference() in softpipe_get_tex_surface() to fix refcount error | Brian | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | fix width/height padding that caused failed assertion upon window resize | Brian | 2007-10-10 | 1 | -3/+4 |
| | |||||
* | Size of input_to_index array should be VERT_ATTRIB_MAX. | Brian | 2007-10-10 | 1 | -1/+1 |
| | | | | This fixes an out of bounds array write that was causing the glsl/bump demo to render incorrectly. | ||||
* | Merge tgsi_mesa_compile_fp_program() and tgsi_mesa_compile_vp_program() into ↵ | Brian | 2007-10-10 | 3 | -318/+45 |
| | | | | tgsi_translate_mesa_program(). | ||||
* | remove unused var | Brian | 2007-10-10 | 1 | -2/+0 |
| | |||||
* | 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 | 3 | -24/+34 |
| | |||||
* | 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). |