summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-03-17gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell
Passthrough is actually more tricky than you'd think...
2008-03-16gallium: finish remaining prim types for sp_vbuf_draw_arrays()Brian
Not totally tested, but easily fixed if glitches are found.
2008-03-15gallium: Ensure we don't add null objects to the table, as they mark empty ↵José Fonseca
handles.
2008-03-14mesa: clamp point size in vertex program when computing attenuated sizeBrian Paul
2008-03-14gallium: if point size not computed per vertex, apply size clamp immediately.Brian Paul
Fixes glean pointAtten failure.
2008-03-14gallium: add explicit control for point sprites (convert points to textured ↵Brian
quads) New draw_enable_point_sprites() function. Fixes spriteblast.c demo
2008-03-14gallium: remove DOS carriage returnsBrian
2008-03-14gallium: remove DOS carriage returnsBrian
2008-03-14tgsi: Use debug_printf().Michal Krol
2008-03-14scons: Remove second occurence of draw_passthrough.c.Michal Krol
2008-03-14mesa: init tmpNode to zerosBrian Paul
2008-03-14mesa: fix emit_clamp() so that we don't use an output register as temporaryBrian Paul
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs).
2008-03-14gallium: print warning rather than assert(0) for LOG/EXP opcodesBrian Paul
Glean vertProg1 runs all the way through, rather than aborting.
2008-03-14gallium: added some debug code (disabled)Brian
2008-03-14i915: check for NULL const buffer ptrBrian
2008-03-14gallium: added dummy install targetBrian
2008-03-14mesa: revert fast-track glColor and similar calls when not immediate mode ↵Brian
rendering Revert commit d08cd68d3f5456b69ad504ede2b090c0bb6474db This change caused some glean tests to fail. The alpha value of colors was always 1.0 instead of the value from glColor4fv(). The mesa color array found in st_draw() has size=3 instead of size=4.
2008-03-14gallium: in st_program_string_notify() free shader tokens.Brian
When the shader instructions change, free the TGSI tokens. This signals the state tracker to recompile the shader. Fixes a regression caused by recent shader/state-tracker changes.
2008-03-14gallium: fix some compiler warningsKeith Whitwell
2008-03-14tgsi: add debug_printf version of tgsi_dumpKeith Whitwell
2008-03-13gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()Brian
Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1.
2008-03-13gallium: fix EMIT_HEADER case in draw_vf_set_vertex_info()Brian
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