summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵Brian2008-03-131-0/+12
| | | | | | attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode.
* gallium: added EMIT_HEADER case in emit_vertex()Brian2008-03-131-0/+5
|
* gallium: added new EMIT_HEADER tokenBrian2008-03-132-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() functionBrian2008-03-131-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 passthroughBrian2008-03-131-1/+16
| | | | Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor
* gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.Brian2008-03-132-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 hashZack Rusin2008-03-132-5/+36
|
* gallium: added draw_need_pipeline() predicate functionBrian2008-03-131-1/+54
| | | | To test if we need any pipeline stage, or whether we can go into passthrough mode.
* gallium: added draw_enable_line_stipple() functionBrian2008-03-133-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)Brian2008-03-131-0/+1
|
* cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5Ian Romanick2008-03-133-32/+15
|
* gallium: remove dead code related to shader semantic input/output infoBrian Paul2008-03-134-30/+1
|
* gallium: fix bug in stip_first_tri()Brian Paul2008-03-131-5/+5
| | | | Need to compute num_samplers after binding/creating the fragment shader.
* gallium: remove a debug printfBrian Paul2008-03-131-2/+0
|
* Replicate TXP changes in the SPU version of TGSI execIan Romanick2008-03-131-31/+14
| | | | | Replicate changes from commit ba75e82b6ebaf88dd2e4a8f764b2d296d715bf8a in spu_exec.c
* gallium: remove semantic info from pipe_shader_stateBrian Paul2008-03-138-81/+104
| | | | Brian's patch to clean up the shader interfaces.
* gallium: make the windows config function more readable with 80-ish columnsKeith Whitwell2008-03-131-10/+20
|
* tgsi: Drop pre-ps_2_0 opcodes.Michal Krol2008-03-133-190/+71
|
* tgsi: Remove OPCODE_TEXCOORD, OPCODE_TEXCRD aliases.Michal Krol2008-03-131-2/+0
|
* gallium: General purpose hash table, which is actually just a convenient ↵José Fonseca2008-03-134-0/+287
| | | | frontend to cso_hash.
* gallium: Standardize most important error codes.José Fonseca2008-03-131-0/+65
|
* gallium: Add a bit of documentation to cso_hash.José Fonseca2008-03-131-15/+34
|
* gallium: Fix debug_mask_vprintf's example.José Fonseca2008-03-131-1/+2
|
* gallium: Add a new handle_table_set that accepts an arbitrary handle.José Fonseca2008-03-132-21/+75
|
* mesa: fix (harmless?) assignment in assertKeith Whitwell2008-03-131-1/+1
|
* tgsi: replace erroneous use of FETCH with emit_tempfKeith Whitwell2008-03-131-3/+15
|
* tgsi: bump MAX_SRC_REGS to 4, for TXDKeith Whitwell2008-03-131-1/+1
|
* add code handling dependencies between generated codeZack Rusin2008-03-124-10/+111
|
* Add some basic documentation for gallivm codeZack Rusin2008-03-121-0/+10
|
* document hash collision resolutionsZack Rusin2008-03-121-0/+10
|
* gallium: fix polygon stippleBrian2008-03-121-12/+22
| | | | | Was broken by commit 4528287e040415c2071012d02f20979ff995c754 (bind all samplers/texures at once).
* gallium: in clear_stencil_buffer() check surface format to determine stencil ↵Brian2008-03-121-0/+9
| | | | | | clear value ... as we do for the Z and Z+stencil cases
* i915: handle NULL object in i915_bind_rasterizer_state()Brian2008-03-121-5/+6
|
* mesa: set SamplersUsed bitmask when parsing ARB fragment programsBrian2008-03-121-1/+4
|
* gallium: pass NULL to cso_single_sampler() when the sampler isn't used.Brian2008-03-121-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 ExtDivideBrian2008-03-121-4/+0
|
* gallium: use TXP rather than ExtDivide flagBrian2008-03-121-2/+1
|
* gallium: change draw_vertex_shader->state from pointer to structBrian2008-03-123-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 Krol2008-03-126-65/+21
|
* tgsi: Dump TXP opcode.Michal Krol2008-03-121-2/+4
|
* gallium: Generic handle table.José Fonseca2008-03-124-0/+305
|
* gallium: Change assert behavior on runtime (Mark Mueller).José Fonseca2008-03-121-2/+36
|
* tgsi: Introduce OPCODE_TXP. Depricate ExdDivide field.Michal Krol2008-03-121-1/+9
|
* scons: Faithfully mimic every WINDDK builtin compiler/linker option.José Fonseca2008-03-122-60/+108
|
* gallium: reduce signed/unsigned warningsKeith Whitwell2008-03-121-1/+1
|
* gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell2008-03-125-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 Krol2008-03-121-0/+5
|
* cell: check for NULL shader pointer in cell_bind_vs_state()Brian2008-03-111-1/+2
|
* gallium: dummy install targetBrian2008-03-111-0/+4
|
* gallium: rework CSO-related code in state trackerBrian2008-03-1123-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...