summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-14mesa: call glColorMask(1,1,1,1) before glClear()Brian Paul
Without this, second and subsequent redraws rendered incorrectly. Plus comments.
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
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.