Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵ | Brian | 2008-03-13 | 1 | -0/+12 |
| | | | | | | attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode. | ||||
* | gallium: added EMIT_HEADER case in emit_vertex() | Brian | 2008-03-13 | 1 | -0/+5 |
| | |||||
* | 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: add some temporary code for testing draw module vertex passthrough | Brian | 2008-03-13 | 1 | -1/+16 |
| | | | | Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor | ||||
* | 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 | 8 | -81/+104 |
| | | | | 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 |
| | |||||
* | mesa: fix (harmless?) assignment in assert | Keith Whitwell | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | 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). | ||||
* | gallium: in clear_stencil_buffer() check surface format to determine stencil ↵ | Brian | 2008-03-12 | 1 | -0/+9 |
| | | | | | | clear value ... as we do for the Z and Z+stencil cases | ||||
* | i915: handle NULL object in i915_bind_rasterizer_state() | Brian | 2008-03-12 | 1 | -5/+6 |
| | |||||
* | mesa: set SamplersUsed bitmask when parsing ARB fragment programs | Brian | 2008-03-12 | 1 | -1/+4 |
| | |||||
* | gallium: pass NULL to cso_single_sampler() when the sampler isn't used. | Brian | 2008-03-12 | 1 | -2/+5 |
| | | | | | This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing. | ||||
* | remove reference to obsolete ExtDivide | Brian | 2008-03-12 | 1 | -4/+0 |
| | |||||
* | gallium: use TXP rather than ExtDivide flag | Brian | 2008-03-12 | 1 | -2/+1 |
| | |||||
* | 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 |
| | |||||
* | scons: Faithfully mimic every WINDDK builtin compiler/linker option. | José Fonseca | 2008-03-12 | 2 | -60/+108 |
| | |||||
* | 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 | 5 | -31/+35 |
| | | | | | | 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 | 23 | -298/+292 |
| | | | | | | | | | | 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... |