summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-13gallium: plug in vertex passthrough codeBrian
Based on a patch from Zack. Basically, implement a new draw_arrays function that copies the incoming user-vertices to the hardware vertex buffer, doing format/type conversion as needed. The vertex fetch/store code is totally temporary for now.
2008-03-13gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵Brian
st_draw_vertices() When pass-through mode is fully supported we'll clean this up more.
2008-03-13gallium: fix bug in draw_num_vs_outputs()Brian
2008-03-13gallium: added EMIT_HEADER caseBrian
2008-03-13gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵Brian
attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode.
2008-03-13gallium: added EMIT_HEADER case in emit_vertex()Brian
2008-03-13gallium: added new EMIT_HEADER tokenBrian
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...
2008-03-13gallium: plug in new sp_vbuf_draw_arrays() functionBrian
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().
2008-03-13gallium: add some temporary code for testing draw module vertex passthroughBrian
Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor
2008-03-13gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.Brian
Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others.
2008-03-13add a way of removing an exact iterator from the hashZack Rusin
2008-03-13gallium: added draw_need_pipeline() predicate functionBrian
To test if we need any pipeline stage, or whether we can go into passthrough mode.
2008-03-13gallium: added draw_enable_line_stipple() functionBrian
Allows drivers that implement line stipple to turn off this drawing stage.
2008-03-13gallium: added bypass_vs flag to rasterizer state (may be temporary)Brian
2008-03-13cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5Ian Romanick
2008-03-13gallium: remove dead code related to shader semantic input/output infoBrian Paul
2008-03-13gallium: fix bug in stip_first_tri()Brian Paul
Need to compute num_samplers after binding/creating the fragment shader.
2008-03-13gallium: remove a debug printfBrian Paul
2008-03-13Replicate TXP changes in the SPU version of TGSI execIan Romanick
Replicate changes from commit ba75e82b6ebaf88dd2e4a8f764b2d296d715bf8a in spu_exec.c
2008-03-13gallium: remove semantic info from pipe_shader_stateBrian Paul
Brian's patch to clean up the shader interfaces.
2008-03-13gallium: make the windows config function more readable with 80-ish columnsKeith Whitwell
2008-03-13tgsi: Drop pre-ps_2_0 opcodes.Michal Krol
2008-03-13tgsi: Remove OPCODE_TEXCOORD, OPCODE_TEXCRD aliases.Michal Krol
2008-03-13gallium: General purpose hash table, which is actually just a convenient ↵José Fonseca
frontend to cso_hash.
2008-03-13gallium: Standardize most important error codes.José Fonseca
2008-03-13gallium: Add a bit of documentation to cso_hash.José Fonseca
2008-03-13gallium: Fix debug_mask_vprintf's example.José Fonseca
2008-03-13gallium: Add a new handle_table_set that accepts an arbitrary handle.José Fonseca
2008-03-13mesa: fix (harmless?) assignment in assertKeith Whitwell
2008-03-13tgsi: replace erroneous use of FETCH with emit_tempfKeith Whitwell
2008-03-13tgsi: bump MAX_SRC_REGS to 4, for TXDKeith Whitwell
2008-03-12add code handling dependencies between generated codeZack Rusin
2008-03-12Add some basic documentation for gallivm codeZack Rusin
2008-03-12document hash collision resolutionsZack Rusin
2008-03-12gallium: fix polygon stippleBrian
Was broken by commit 4528287e040415c2071012d02f20979ff995c754 (bind all samplers/texures at once).
2008-03-12gallium: in clear_stencil_buffer() check surface format to determine stencil ↵Brian
clear value ... as we do for the Z and Z+stencil cases
2008-03-12i915: handle NULL object in i915_bind_rasterizer_state()Brian
2008-03-12mesa: set SamplersUsed bitmask when parsing ARB fragment programsBrian
2008-03-12gallium: pass NULL to cso_single_sampler() when the sampler isn't used.Brian
This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing.
2008-03-12remove reference to obsolete ExtDivideBrian
2008-03-12gallium: use TXP rather than ExtDivide flagBrian
2008-03-12gallium: change draw_vertex_shader->state from pointer to structBrian
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.
2008-03-12tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP.Michal Krol
2008-03-12tgsi: Dump TXP opcode.Michal Krol
2008-03-12gallium: Generic handle table.José Fonseca
2008-03-12gallium: Change assert behavior on runtime (Mark Mueller).José Fonseca
2008-03-12tgsi: Introduce OPCODE_TXP. Depricate ExdDivide field.Michal Krol
2008-03-12gallium: reduce signed/unsigned warningsKeith Whitwell
2008-03-12gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell
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.
2008-03-12tgsi: Dump source register divide component.Michal Krol