Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: added new EMIT_HEADER token | Brian | 2008-03-13 | 2 | -0/+4 |
| | | | | | | Used to emit the struct vertex_header info for softpipe. Before we were using the EMIT_ALL token but that's insufficient for the draw pass-through mode. EMIT_ALL might get removed soon... | ||||
* | gallium: plug in new sp_vbuf_draw_arrays() function | Brian | 2008-03-13 | 1 | -0/+57 |
| | | | | | | Will be used for pass-through mode. Also, call draw_set_render() to register the vbuf stage. Should probably rename that function to something like draw_set_vbuf_stage(). | ||||
* | gallium: set surface status to CLEAR or DEFINED in clearing/drawing code. | Brian | 2008-03-13 | 2 | -0/+13 |
| | | | | | Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others. | ||||
* | add a way of removing an exact iterator from the hash | Zack Rusin | 2008-03-13 | 2 | -5/+36 |
| | |||||
* | gallium: added draw_need_pipeline() predicate function | Brian | 2008-03-13 | 1 | -1/+54 |
| | | | | To test if we need any pipeline stage, or whether we can go into passthrough mode. | ||||
* | gallium: added draw_enable_line_stipple() function | Brian | 2008-03-13 | 3 | -2/+18 |
| | | | | Allows drivers that implement line stipple to turn off this drawing stage. | ||||
* | gallium: added bypass_vs flag to rasterizer state (may be temporary) | Brian | 2008-03-13 | 1 | -0/+1 |
| | |||||
* | cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5 | Ian Romanick | 2008-03-13 | 3 | -32/+15 |
| | |||||
* | gallium: remove dead code related to shader semantic input/output info | Brian Paul | 2008-03-13 | 4 | -30/+1 |
| | |||||
* | gallium: fix bug in stip_first_tri() | Brian Paul | 2008-03-13 | 1 | -5/+5 |
| | | | | Need to compute num_samplers after binding/creating the fragment shader. | ||||
* | gallium: remove a debug printf | Brian Paul | 2008-03-13 | 1 | -2/+0 |
| | |||||
* | Replicate TXP changes in the SPU version of TGSI exec | Ian Romanick | 2008-03-13 | 1 | -31/+14 |
| | | | | | Replicate changes from commit ba75e82b6ebaf88dd2e4a8f764b2d296d715bf8a in spu_exec.c | ||||
* | gallium: remove semantic info from pipe_shader_state | Brian Paul | 2008-03-13 | 4 | -3/+5 |
| | | | | Brian's patch to clean up the shader interfaces. | ||||
* | gallium: make the windows config function more readable with 80-ish columns | Keith Whitwell | 2008-03-13 | 1 | -10/+20 |
| | |||||
* | tgsi: Drop pre-ps_2_0 opcodes. | Michal Krol | 2008-03-13 | 3 | -190/+71 |
| | |||||
* | tgsi: Remove OPCODE_TEXCOORD, OPCODE_TEXCRD aliases. | Michal Krol | 2008-03-13 | 1 | -2/+0 |
| | |||||
* | gallium: General purpose hash table, which is actually just a convenient ↵ | José Fonseca | 2008-03-13 | 4 | -0/+287 |
| | | | | frontend to cso_hash. | ||||
* | gallium: Standardize most important error codes. | José Fonseca | 2008-03-13 | 1 | -0/+65 |
| | |||||
* | gallium: Add a bit of documentation to cso_hash. | José Fonseca | 2008-03-13 | 1 | -15/+34 |
| | |||||
* | gallium: Fix debug_mask_vprintf's example. | José Fonseca | 2008-03-13 | 1 | -1/+2 |
| | |||||
* | gallium: Add a new handle_table_set that accepts an arbitrary handle. | José Fonseca | 2008-03-13 | 2 | -21/+75 |
| | |||||
* | tgsi: replace erroneous use of FETCH with emit_tempf | Keith Whitwell | 2008-03-13 | 1 | -3/+15 |
| | |||||
* | tgsi: bump MAX_SRC_REGS to 4, for TXD | Keith Whitwell | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | add code handling dependencies between generated code | Zack Rusin | 2008-03-12 | 4 | -10/+111 |
| | |||||
* | Add some basic documentation for gallivm code | Zack Rusin | 2008-03-12 | 1 | -0/+10 |
| | |||||
* | document hash collision resolutions | Zack Rusin | 2008-03-12 | 1 | -0/+10 |
| | |||||
* | gallium: fix polygon stipple | Brian | 2008-03-12 | 1 | -12/+22 |
| | | | | | Was broken by commit 4528287e040415c2071012d02f20979ff995c754 (bind all samplers/texures at once). | ||||
* | i915: handle NULL object in i915_bind_rasterizer_state() | Brian | 2008-03-12 | 1 | -5/+6 |
| | |||||
* | remove reference to obsolete ExtDivide | Brian | 2008-03-12 | 1 | -4/+0 |
| | |||||
* | gallium: change draw_vertex_shader->state from pointer to struct | Brian | 2008-03-12 | 3 | -5/+5 |
| | | | | | | We were sometimes keeping a pointer to a stack-allocated object. Now make a copy of the pipe_shader_state object. This should fix some seemingly random memory errors/crashes. | ||||
* | tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP. | Michal Krol | 2008-03-12 | 6 | -65/+21 |
| | |||||
* | tgsi: Dump TXP opcode. | Michal Krol | 2008-03-12 | 1 | -2/+4 |
| | |||||
* | gallium: Generic handle table. | José Fonseca | 2008-03-12 | 4 | -0/+305 |
| | |||||
* | gallium: Change assert behavior on runtime (Mark Mueller). | José Fonseca | 2008-03-12 | 1 | -2/+36 |
| | |||||
* | tgsi: Introduce OPCODE_TXP. Depricate ExdDivide field. | Michal Krol | 2008-03-12 | 1 | -1/+9 |
| | |||||
* | gallium: reduce signed/unsigned warnings | Keith Whitwell | 2008-03-12 | 1 | -1/+1 |
| | |||||
* | gallium: Add TEX_FILTER_ANISO img filter | Keith Whitwell | 2008-03-12 | 4 | -31/+31 |
| | | | | | | Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code. | ||||
* | tgsi: Dump source register divide component. | Michal Krol | 2008-03-12 | 1 | -0/+5 |
| | |||||
* | cell: check for NULL shader pointer in cell_bind_vs_state() | Brian | 2008-03-11 | 1 | -1/+2 |
| | |||||
* | gallium: dummy install target | Brian | 2008-03-11 | 1 | -0/+4 |
| | |||||
* | gallium: rework CSO-related code in state tracker | Brian | 2008-03-11 | 4 | -4/+8 |
| | | | | | | | | | | Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers... | ||||
* | gallium: Silence MSVC warnings. | José Fonseca | 2008-03-12 | 3 | -12/+13 |
| | |||||
* | gallium: Conditional debugging output. | José Fonseca | 2008-03-12 | 2 | -0/+98 |
| | | | | | Generalize the conditional debugging output code found trhought the gallium drivers. | ||||
* | tgsi: Map OPCODE_TEXKILL to OPCODE_KILP. | Michal Krol | 2008-03-11 | 1 | -1/+1 |
| | |||||
* | gallium: fix some cso_state_callback cast warnings | Brian | 2008-03-11 | 1 | -8/+8 |
| | |||||
* | gallium: fix fs/vs typo in cso_set_vertex_shader() | Brian | 2008-03-11 | 1 | -1/+1 |
| | |||||
* | draw: don't free our copy of the render stage -- just borrowing it from vbuf ↵ | Keith Whitwell | 2008-03-11 | 1 | -0/+3 |
| | | | | stage | ||||
* | gallium: missing file | Keith Whitwell | 2008-03-11 | 1 | -0/+222 |
| | |||||
* | fix double deletion | Zack Rusin | 2008-03-10 | 2 | -8/+4 |
| | | | | | plus, if the current hash is bigger than max size make sure we delete enough from it | ||||
* | fix compilation | Zack Rusin | 2008-03-10 | 1 | -1/+0 |
| |