summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-18cell: Fix added whitespace errors.Ian Romanick
2008-03-18cell: Minor changes to make stencil not crashIan Romanick
I'm not sure these are quite correct. The reflect demo doesn't assert anymore, but it doesn't produce correct results either. SPE-based vertex shader code needs to be disabled for relfect to run.
2008-03-18cell: Move and (conditionally) silence debug codeIan Romanick
2008-03-18d3d: Allow to iterate over the handle table.José Fonseca
2008-03-18d3d: Add function to walk through all items in the hash table.José Fonseca
2008-03-18gallium: Don't be pedantic about removing non exiting items from the table.José Fonseca
2008-03-18gallium: Convenience debug_warning function.José Fonseca
2008-03-18gallium: fix a mix-up in the uint[1] do_row() caseBrian
2008-03-18gallium: use new color packing utility functionsBrian
2008-03-18gallium: utility for packing color, z values according to pipe_formatBrian
2008-03-18gallium: Silencium warnings on Windows.Michal Krol
2008-03-17gallium: initial gen mipmap s/w fallback codeBrian
2008-03-17cell: Don't segfault when unbinding alpha / stencil / depth test stateIan Romanick
2008-03-17cell: Don't free NULL code pointersIan Romanick
2008-03-17cell: Initial code-gen for alpha / stencil / depth testingIan Romanick
Alpha test is currently broken because all per-fragment testing occurs before alpha is calculated. Stencil test is currently broken because the Z-clear code asserts if there is a stencil buffer.
2008-03-17cell: Fix simple register allocatorIan Romanick
THere are 64-bits in a uint64_t, not 128. Duh.
2008-03-17mesa: new mipmap generation, lod bias demoBrian Paul
Show each of the mipmap levels side-by-side. Press 's' to toggle quad scaling to see mipmap level at actual size.
2008-03-17gallium: use new gallium utility code for generating mipmapsBrian
2008-03-17gallium: added new u_draw_quad.c and u_gen_mipmap.c files.Brian
2008-03-17gallium: new mipmap generation codeBrian
Based on code from Mesa's state tracker. Still need to implement fallbacks for those texture formats which can't generally be rendered to.
2008-03-17gallium: new util_draw_texquad() function.Brian
2008-03-17gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEARESTBrian Paul
Plus, comments, clean-ups.
2008-03-17gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵Brian Paul
rendering each level
2008-03-17only set InputsRead bit if input is really usedMarkus Amsler
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-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