summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-18nv30: update miptree stuff for texturingPatrice Mandin
2008-03-17nv30: another 2 rt, and set viewport tx origin, so we render at the proper ↵Patrice Mandin
place \o/
2008-03-17nv30: only 2 render targetsPatrice Mandin
2008-03-17nv40: a few more fp opcodesBen Skeggs
2008-03-17nouveau: create fence object when allocating pushbuf, instead of submitBen Skeggs
2008-03-17nv40: workaround main swtnl breakageBen Skeggs
Not sure where the real bug is here yet, but for now this gives us correct rendering in far more cases than previously.
2008-03-17nv10: fixes.Stephane Marchesin
2008-03-17nouveau: latest header.Stephane Marchesin
2008-03-16nv40: simple swtnl path (half broken, but getting there)Ben Skeggs
2008-03-16nv10: fix build after mergeBen Skeggs
2008-03-16Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs
2008-03-15cso_context_destroy calls bind_state functions with NULL parameterPatrice Mandin
2008-03-15nv10.Stephane Marchesin
2008-03-15nouveau: latest header.Stephane Marchesin
2008-03-15nv30: only 2 RTs.Stephane Marchesin
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-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