Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | only set InputsRead bit if input is really used | Markus Amsler | 2008-03-17 | 1 | -3/+5 |
| | |||||
* | gallium: improvements, or extensions at least, to the passthrough path | Keith Whitwell | 2008-03-17 | 4 | -105/+275 |
| | | | | Passthrough is actually more tricky than you'd think... | ||||
* | gallium: finish remaining prim types for sp_vbuf_draw_arrays() | Brian | 2008-03-16 | 1 | -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é Fonseca | 2008-03-15 | 1 | -0/+4 |
| | | | | handles. | ||||
* | mesa: clamp point size in vertex program when computing attenuated size | Brian Paul | 2008-03-14 | 1 | -3/+4 |
| | |||||
* | gallium: if point size not computed per vertex, apply size clamp immediately. | Brian Paul | 2008-03-14 | 1 | -1/+6 |
| | | | | Fixes glean pointAtten failure. | ||||
* | gallium: add explicit control for point sprites (convert points to textured ↵ | Brian | 2008-03-14 | 5 | -2/+24 |
| | | | | | | | quads) New draw_enable_point_sprites() function. Fixes spriteblast.c demo | ||||
* | gallium: remove DOS carriage returns | Brian | 2008-03-14 | 3 | -654/+654 |
| | |||||
* | gallium: remove DOS carriage returns | Brian | 2008-03-14 | 1 | -195/+195 |
| | |||||
* | tgsi: Use debug_printf(). | Michal Krol | 2008-03-14 | 1 | -2/+2 |
| | |||||
* | scons: Remove second occurence of draw_passthrough.c. | Michal Krol | 2008-03-14 | 1 | -2/+1 |
| | |||||
* | mesa: init tmpNode to zeros | Brian Paul | 2008-03-14 | 1 | -0/+1 |
| | |||||
* | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian Paul | 2008-03-14 | 1 | -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 Paul | 2008-03-14 | 1 | -0/+4 |
| | | | | | Without this, second and subsequent redraws rendered incorrectly. Plus comments. | ||||
* | gallium: print warning rather than assert(0) for LOG/EXP opcodes | Brian Paul | 2008-03-14 | 1 | -2/+32 |
| | | | | Glean vertProg1 runs all the way through, rather than aborting. | ||||
* | gallium: added some debug code (disabled) | Brian | 2008-03-14 | 1 | -0/+13 |
| | |||||
* | i915: check for NULL const buffer ptr | Brian | 2008-03-14 | 1 | -1/+1 |
| | |||||
* | gallium: added dummy install target | Brian | 2008-03-14 | 1 | -0/+4 |
| | |||||
* | mesa: revert fast-track glColor and similar calls when not immediate mode ↵ | Brian | 2008-03-14 | 1 | -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. | Brian | 2008-03-14 | 1 | -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 warnings | Keith Whitwell | 2008-03-14 | 3 | -4/+6 |
| | |||||
* | tgsi: add debug_printf version of tgsi_dump | Keith Whitwell | 2008-03-14 | 2 | -0/+26 |
| | |||||
* | gallium: need to all draw_flush() in softpipe_unmap_constant_buffers() | Brian | 2008-03-13 | 1 | -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() | Brian | 2008-03-13 | 1 | -1/+5 |
| | |||||
* | gallium: plug in vertex passthrough code | Brian | 2008-03-13 | 4 | -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 ↵ | Brian | 2008-03-13 | 1 | -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() | Brian | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | gallium: added EMIT_HEADER case | Brian | 2008-03-13 | 1 | -0/+4 |
| | |||||
* | gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵ | Brian | 2008-03-13 | 1 | -0/+12 |
| | | | | | | attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode. | ||||
* | gallium: added EMIT_HEADER case in emit_vertex() | Brian | 2008-03-13 | 1 | -0/+5 |
| | |||||
* | gallium: added new EMIT_HEADER token | Brian | 2008-03-13 | 2 | -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() function | Brian | 2008-03-13 | 1 | -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 passthrough | Brian | 2008-03-13 | 1 | -1/+16 |
| | | | | Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor | ||||
* | gallium: set surface status to CLEAR or DEFINED in clearing/drawing code. | Brian | 2008-03-13 | 2 | -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 hash | Zack Rusin | 2008-03-13 | 2 | -5/+36 |
| | |||||
* | gallium: added draw_need_pipeline() predicate function | Brian | 2008-03-13 | 1 | -1/+54 |
| | | | | To test if we need any pipeline stage, or whether we can go into passthrough mode. | ||||
* | gallium: added draw_enable_line_stipple() function | Brian | 2008-03-13 | 3 | -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) | Brian | 2008-03-13 | 1 | -0/+1 |
| | |||||
* | cell: Fix to work with commit fa9e7e9a8debb68611909ac2ffab527c6c39a3e5 | Ian Romanick | 2008-03-13 | 3 | -32/+15 |
| | |||||
* | gallium: remove dead code related to shader semantic input/output info | Brian Paul | 2008-03-13 | 4 | -30/+1 |
| | |||||
* | gallium: fix bug in stip_first_tri() | Brian Paul | 2008-03-13 | 1 | -5/+5 |
| | | | | Need to compute num_samplers after binding/creating the fragment shader. | ||||
* | gallium: remove a debug printf | Brian Paul | 2008-03-13 | 1 | -2/+0 |
| | |||||
* | Replicate TXP changes in the SPU version of TGSI exec | Ian Romanick | 2008-03-13 | 1 | -31/+14 |
| | | | | | Replicate changes from commit ba75e82b6ebaf88dd2e4a8f764b2d296d715bf8a in spu_exec.c | ||||
* | gallium: remove semantic info from pipe_shader_state | Brian Paul | 2008-03-13 | 8 | -81/+104 |
| | | | | Brian's patch to clean up the shader interfaces. | ||||
* | gallium: make the windows config function more readable with 80-ish columns | Keith Whitwell | 2008-03-13 | 1 | -10/+20 |
| | |||||
* | tgsi: Drop pre-ps_2_0 opcodes. | Michal Krol | 2008-03-13 | 3 | -190/+71 |
| | |||||
* | tgsi: Remove OPCODE_TEXCOORD, OPCODE_TEXCRD aliases. | Michal Krol | 2008-03-13 | 1 | -2/+0 |
| | |||||
* | gallium: General purpose hash table, which is actually just a convenient ↵ | José Fonseca | 2008-03-13 | 4 | -0/+287 |
| | | | | frontend to cso_hash. | ||||
* | gallium: Standardize most important error codes. | José Fonseca | 2008-03-13 | 1 | -0/+65 |
| | |||||
* | gallium: Add a bit of documentation to cso_hash. | José Fonseca | 2008-03-13 | 1 | -15/+34 |
| |