summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: finish remaining prim types for sp_vbuf_draw_arrays()Brian2008-03-161-0/+73
| | | | Not totally tested, but easily fixed if glitches are found.
* gallium: Ensure we don't add null objects to the table, as they mark empty ↵José Fonseca2008-03-151-0/+4
| | | | handles.
* mesa: clamp point size in vertex program when computing attenuated sizeBrian Paul2008-03-141-3/+4
|
* gallium: if point size not computed per vertex, apply size clamp immediately.Brian Paul2008-03-141-1/+6
| | | | Fixes glean pointAtten failure.
* gallium: add explicit control for point sprites (convert points to textured ↵Brian2008-03-145-2/+24
| | | | | | | quads) New draw_enable_point_sprites() function. Fixes spriteblast.c demo
* gallium: remove DOS carriage returnsBrian2008-03-143-654/+654
|
* gallium: remove DOS carriage returnsBrian2008-03-141-195/+195
|
* tgsi: Use debug_printf().Michal Krol2008-03-141-2/+2
|
* scons: Remove second occurence of draw_passthrough.c.Michal Krol2008-03-141-2/+1
|
* mesa: init tmpNode to zerosBrian Paul2008-03-141-0/+1
|
* mesa: fix emit_clamp() so that we don't use an output register as temporaryBrian Paul2008-03-141-3/+12
| | | | | | 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).
* mesa: call glColorMask(1,1,1,1) before glClear()Brian Paul2008-03-141-0/+4
| | | | | Without this, second and subsequent redraws rendered incorrectly. Plus comments.
* gallium: print warning rather than assert(0) for LOG/EXP opcodesBrian Paul2008-03-141-2/+32
| | | | Glean vertProg1 runs all the way through, rather than aborting.
* gallium: added some debug code (disabled)Brian2008-03-141-0/+13
|
* i915: check for NULL const buffer ptrBrian2008-03-141-1/+1
|
* gallium: added dummy install targetBrian2008-03-141-0/+4
|
* mesa: revert fast-track glColor and similar calls when not immediate mode ↵Brian2008-03-141-9/+2
| | | | | | | | | | 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.
* gallium: in st_program_string_notify() free shader tokens.Brian2008-03-141-0/+10
| | | | | | 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.
* gallium: fix some compiler warningsKeith Whitwell2008-03-143-4/+6
|
* tgsi: add debug_printf version of tgsi_dumpKeith Whitwell2008-03-142-0/+26
|
* gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()Brian2008-03-131-0/+8
| | | | | Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1.
* gallium: fix EMIT_HEADER case in draw_vf_set_vertex_info()Brian2008-03-131-1/+5
|
* gallium: plug in vertex passthrough codeBrian2008-03-134-8/+147
| | | | | | | | 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.
* gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵Brian2008-03-131-1/+7
| | | | | | st_draw_vertices() When pass-through mode is fully supported we'll clean this up more.
* gallium: fix bug in draw_num_vs_outputs()Brian2008-03-131-1/+1
|
* gallium: added EMIT_HEADER caseBrian2008-03-131-0/+4
|
* 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
|