Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added u_simple_shaders.c | Brian | 2008-03-18 | 2 | -0/+2 |
| | |||||
* | gallium: make the gen_mipmap_state struct private | Brian | 2008-03-18 | 2 | -12/+14 |
| | |||||
* | gallium: use new simple shader utility routines | Brian | 2008-03-18 | 1 | -248/+12 |
| | |||||
* | gallium: utilities for creating simple vertex/fragment shaders | Brian | 2008-03-18 | 2 | -0/+315 |
| | |||||
* | gallium: restore additional state after clearing with quad | Brian | 2008-03-18 | 1 | -0/+2 |
| | |||||
* | cell: Fix various stencil test code-gen bugs | Ian Romanick | 2008-03-18 | 1 | -27/+43 |
| | |||||
* | cell: Correctly load stencil for PIPE_FORMAT_S8Z24_UNORM | Ian Romanick | 2008-03-18 | 1 | -3/+2 |
| | |||||
* | gallium: make REALLOC a bit more like realloc | Keith Whitwell | 2008-03-18 | 1 | -7/+9 |
| | |||||
* | cell: Fix depth read / write for s8z24. | Ian Romanick | 2008-03-18 | 2 | -2/+24 |
| | | | | Stencil is still broken. | ||||
* | cell: Fix added whitespace errors. | Ian Romanick | 2008-03-18 | 1 | -2/+2 |
| | |||||
* | cell: Minor changes to make stencil not crash | Ian Romanick | 2008-03-18 | 2 | -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 code | Ian Romanick | 2008-03-18 | 2 | -10/+39 |
| | |||||
* | d3d: Allow to iterate over the handle table. | José Fonseca | 2008-03-18 | 2 | -0/+31 |
| | |||||
* | d3d: Add function to walk through all items in the hash table. | José Fonseca | 2008-03-18 | 2 | -1/+27 |
| | |||||
* | gallium: Don't be pedantic about removing non exiting items from the table. | José Fonseca | 2008-03-18 | 1 | -2/+6 |
| | |||||
* | gallium: Convenience debug_warning function. | José Fonseca | 2008-03-18 | 1 | -0/+10 |
| | |||||
* | gallium: fix a mix-up in the uint[1] do_row() case | Brian | 2008-03-18 | 1 | -2/+2 |
| | |||||
* | gallium: use new color packing utility functions | Brian | 2008-03-18 | 1 | -55/+6 |
| | |||||
* | gallium: utility for packing color, z values according to pipe_format | Brian | 2008-03-18 | 1 | -0/+125 |
| | |||||
* | gallium: Silencium warnings on Windows. | Michal Krol | 2008-03-18 | 1 | -3/+3 |
| | |||||
* | gallium: initial gen mipmap s/w fallback code | Brian | 2008-03-17 | 1 | -2/+607 |
| | |||||
* | cell: Don't segfault when unbinding alpha / stencil / depth test state | Ian Romanick | 2008-03-17 | 3 | -13/+29 |
| | |||||
* | cell: Don't free NULL code pointers | Ian Romanick | 2008-03-17 | 1 | -1/+3 |
| | |||||
* | cell: Initial code-gen for alpha / stencil / depth testing | Ian Romanick | 2008-03-17 | 15 | -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 allocator | Ian Romanick | 2008-03-17 | 1 | -6/+6 |
| | | | | THere are 64-bits in a uint64_t, not 128. Duh. | ||||
* | gallium: use new gallium utility code for generating mipmaps | Brian | 2008-03-17 | 2 | -230/+8 |
| | |||||
* | gallium: added new u_draw_quad.c and u_gen_mipmap.c files. | Brian | 2008-03-17 | 2 | -0/+4 |
| | |||||
* | gallium: new mipmap generation code | Brian | 2008-03-17 | 2 | -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. | Brian | 2008-03-17 | 2 | -0/+149 |
| | |||||
* | gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST | Brian Paul | 2008-03-17 | 1 | -10/+5 |
| | | | | Plus, comments, clean-ups. | ||||
* | gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵ | Brian Paul | 2008-03-17 | 1 | -0/+6 |
| | | | | rendering each level | ||||
* | 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). | ||||
* | 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. |