summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* added u_simple_shaders.cBrian2008-03-182-0/+2
|
* gallium: make the gen_mipmap_state struct privateBrian2008-03-182-12/+14
|
* gallium: use new simple shader utility routinesBrian2008-03-181-248/+12
|
* gallium: utilities for creating simple vertex/fragment shadersBrian2008-03-182-0/+315
|
* gallium: restore additional state after clearing with quadBrian2008-03-181-0/+2
|
* cell: Fix various stencil test code-gen bugsIan Romanick2008-03-181-27/+43
|
* cell: Correctly load stencil for PIPE_FORMAT_S8Z24_UNORMIan Romanick2008-03-181-3/+2
|
* gallium: make REALLOC a bit more like reallocKeith Whitwell2008-03-181-7/+9
|
* cell: Fix depth read / write for s8z24.Ian Romanick2008-03-182-2/+24
| | | | Stencil is still broken.
* cell: Fix added whitespace errors.Ian Romanick2008-03-181-2/+2
|
* cell: Minor changes to make stencil not crashIan Romanick2008-03-182-5/+11
| | | | | | 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.
* cell: Move and (conditionally) silence debug codeIan Romanick2008-03-182-10/+39
|
* d3d: Allow to iterate over the handle table.José Fonseca2008-03-182-0/+31
|
* d3d: Add function to walk through all items in the hash table.José Fonseca2008-03-182-1/+27
|
* gallium: Don't be pedantic about removing non exiting items from the table.José Fonseca2008-03-181-2/+6
|
* gallium: Convenience debug_warning function.José Fonseca2008-03-181-0/+10
|
* gallium: fix a mix-up in the uint[1] do_row() caseBrian2008-03-181-2/+2
|
* gallium: use new color packing utility functionsBrian2008-03-181-55/+6
|
* gallium: utility for packing color, z values according to pipe_formatBrian2008-03-181-0/+125
|
* gallium: Silencium warnings on Windows.Michal Krol2008-03-181-3/+3
|
* gallium: initial gen mipmap s/w fallback codeBrian2008-03-171-2/+607
|
* cell: Don't segfault when unbinding alpha / stencil / depth test stateIan Romanick2008-03-173-13/+29
|
* cell: Don't free NULL code pointersIan Romanick2008-03-171-1/+3
|
* cell: Initial code-gen for alpha / stencil / depth testingIan Romanick2008-03-1715-170/+1409
| | | | | | | | 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.
* cell: Fix simple register allocatorIan Romanick2008-03-171-6/+6
| | | | THere are 64-bits in a uint64_t, not 128. Duh.
* gallium: use new gallium utility code for generating mipmapsBrian2008-03-172-230/+8
|
* gallium: added new u_draw_quad.c and u_gen_mipmap.c files.Brian2008-03-172-0/+4
|
* gallium: new mipmap generation codeBrian2008-03-172-0/+558
| | | | | | Based on code from Mesa's state tracker. Still need to implement fallbacks for those texture formats which can't generally be rendered to.
* gallium: new util_draw_texquad() function.Brian2008-03-172-0/+149
|
* gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEARESTBrian Paul2008-03-171-10/+5
| | | | Plus, comments, clean-ups.
* gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵Brian Paul2008-03-171-0/+6
| | | | rendering each level
* only set InputsRead bit if input is really usedMarkus Amsler2008-03-171-3/+5
|
* gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell2008-03-174-105/+275
| | | | Passthrough is actually more tricky than you'd think...
* 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).
* 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.