Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix copy and paste bug from last commit in fog generation code for GL_LINEAR fog | Roland Scheidegger | 2007-03-21 | 1 | -2/+2 |
| | |||||
* | nouveau: update for drm interface changes (0.0.5) | Ben Skeggs | 2007-03-21 | 4 | -9/+13 |
| | |||||
* | nouveau: SwapBuffers() needs to perform a glFlush() | Ben Skeggs | 2007-03-21 | 1 | -0/+1 |
| | |||||
* | mesa: revert f9f79c8d770e696249bd98c68b563f887562c974 | Xiang, Haihao | 2007-03-21 | 3 | -16/+6 |
| | | | | | | | to fix #10232 Table6.1(in gl2.1) has been applied for glGetTexImage before calling into _mesa_pack_rgba_span_float. | ||||
* | r300: Remove the program-global const_sin index | Nicolai Haehnle | 2007-03-21 | 2 | -31/+23 |
| | | | | | | | The index is no longer necessary to share constants between multiple SIN/COS/SCS instructions inside a single fragment program, and storing a tiny implementation detail like this in the fragment_program structure itself was just nasty. | ||||
* | r300: Whitespace cleanup (remove trailing spaces) | Nicolai Haehnle | 2007-03-20 | 1 | -26/+26 |
| | |||||
* | fix for bug#10347 | Xiang, Haihao | 2007-03-20 | 1 | -9/+3 |
| | | | | | | not sure which brw surface for DXT3 & DXT5, so restore the previous choice.(changed in commit 84081774e62a8af18e6bf894ea69f63b97dcfe96) | ||||
* | use passed target parameter | Alan Hourihane | 2007-03-20 | 1 | -1/+1 |
| | |||||
* | nouveau: fix typo | Ben Skeggs | 2007-03-20 | 1 | -1/+1 |
| | |||||
* | nouveau: fail translate if we use too many params somehow | Ben Skeggs | 2007-03-20 | 3 | -5/+31 |
| | |||||
* | nouveau: NVSDBG macro | Ben Skeggs | 2007-03-20 | 5 | -0/+24 |
| | |||||
* | r300: Cleanup fragment program constant allocation, share constants | Nicolai Haehnle | 2007-03-19 | 2 | -73/+61 |
| | | | | | | | | | The constant/parameter allocation was significantly simplified, removing one unnecessary copy operation of parameters. The dirty state tracking is unchanged and far from optimal, since all state is always re-fetched. Constants and parameters are now emitted only once, which significantly reduces the resource pressure on larger programs. | ||||
* | r300: Fix special case (tmp.x <= 0) in fragment program LIT instruction | Nicolai Haehnle | 2007-03-19 | 1 | -2/+2 |
| | | | | Also, fix a typo in a related comment. | ||||
* | r300: Clear fragment program instruction slots on first use | Nicolai Haehnle | 2007-03-19 | 1 | -0/+2 |
| | | | | | | | | Make sure that instruction slots are fully initialized with NOPs during find_and_prepare_slot(). This fixes a bug when a fragment program was translated more than once (e.g. due to a second call to glProgramStringARB). This partially fixes glean/fragProg1. | ||||
* | r300: Dump fragment program after translation if RADEON_DEBUG=pixel is set | Nicolai Haehnle | 2007-03-19 | 1 | -1/+1 |
| | |||||
* | r300: Whitespace cleanup (remove trailing spaces) | Nicolai Haehnle | 2007-03-19 | 1 | -109/+109 |
| | |||||
* | r300: Fix WRITEMASK handling when writing to result.depth | Nicolai Haehnle | 2007-03-19 | 1 | -3/+8 |
| | | | | | | | | | This is a necessary change to emit the right instructions when writing to result.depth. However, even with this test, Z-write doesn't work properly, and I don't fully understand why. In addition to this, we'll at least have to disable early-Z, but even that doesn't seem to be enough. | ||||
* | r300: Streamlined fragment program LIT implementation | Nicolai Haehnle | 2007-03-19 | 1 | -62/+101 |
| | | | | | | | | Fix a bug in the LIT implementation (clamp exponent to 128, not 0.5) and change the implementation around. In theory, the new implementation needs as little as 5 instruction slots. Unfortunately, the dependency analysis in find_and_replace_slot is not strong enough to look at individual components of a register yet. | ||||
* | r300: Fix fragment program reordering | Nicolai Haehnle | 2007-03-19 | 2 | -5/+37 |
| | | | | | Do not move an instruction that writes to a temp forward past an instruction that reads the same temporary. | ||||
* | r300: Fragment program dumps format tex instructions | Nicolai Haehnle | 2007-03-19 | 1 | -2/+28 |
| | |||||
* | r300: Fix hw fragment program dump | Nicolai Haehnle | 2007-03-19 | 1 | -17/+34 |
| | | | | | | | Dumps of fragment programs were incorrect when the program consisted of multiple nodes. Also, improved the formatting a bit. | ||||
* | r300: Fix fragment program instruction pairing and register allocation | Nicolai Haehnle | 2007-03-19 | 3 | -290/+582 |
| | | | | | | | | | | | | | There were a number of bugs related to the pairing of vector and scalar operations where swizzles ended up using the wrong source register, or an instruction was moved forward and ended up overwriting an aliased register. The new algorithm for register allocation is quite conservative and may run out of registers before necessary. On the plus side, It Just Works. Pairing is done whenever possible, and in more cases than before, so in practice this change should be a net win. | ||||
* | i915tex: The intended triple buffering fix. | Michel Dänzer | 2007-03-19 | 2 | -27/+1 |
| | | | | | Making modifications while the editor spawned by git-commit was suspended didn't have the intended effect. | ||||
* | i915tex: Fix triple buffering after recent Mesa core changes. | Michel Dänzer | 2007-03-19 | 1 | -0/+22 |
| | | | | | | | | | | Remove superfluous _mesa_resize_framebuffer call which is now harmful because it causes the third renderbuffer to have width/height 0, so Mesa refuses to render to it. In the long term, it would be nice to remove the hack in intel_alloc_window_storage in favour of a proper Mesa interface for flipping between more than two colour buffers. | ||||
* | fix off-by-one in load_state_immediate | Keith Whitwell | 2007-03-18 | 2 | -2/+2 |
| | |||||
* | fix typo in subrect_disable packet | Keith Whitwell | 2007-03-18 | 1 | -1/+1 |
| | |||||
* | fix typo in subrect_disable packet | Keith Whitwell | 2007-03-18 | 1 | -1/+1 |
| | |||||
* | screen offset changes, bug 9965 | Miguel Marte | 2007-03-18 | 5 | -46/+36 |
| | |||||
* | fix assertion in read_depth_pixels() | Nicolai Haehnle | 2007-03-18 | 1 | -1/+1 |
| | |||||
* | r300: Removed the deprecated $XFree86$ CVS keywords. | Oliver McFadden | 2007-03-18 | 7 | -7/+0 |
| | |||||
* | r300: Corrected the string for polygon mode; it wasn't updated from unkXXX. | Oliver McFadden | 2007-03-18 | 1 | -1/+1 |
| | |||||
* | nouveau: avoid using uninitialised TexSrcUnit. | Ben Skeggs | 2007-03-19 | 1 | -1/+22 |
| | |||||
* | mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT) | Xiang, Haihao | 2007-03-18 | 2 | -55/+49 |
| | | | | or TexImage(DEPTH_COMPONENT) | ||||
* | mesa: enhance fxt1_quantize_ALPHA1 | Xiang, Haihao | 2007-03-18 | 1 | -33/+44 |
| | | | | If possible, let minCol != maxCol | ||||
* | i965: fix for FXT1 & S3TC texture format | Xiang, Haihao | 2007-03-18 | 1 | -4/+11 |
| | | | | choose the right mesa texformat for FXT1 & S3TC | ||||
* | Use _mesa_copy_instructions rather than memcpy in _mesa_insert_mvp_code. | Oliver McFadden | 2007-03-18 | 1 | -2/+1 |
| | |||||
* | fix some format conversion bugs in glGetTexImage(), bug 10288 | Haihao Xiang | 2007-03-17 | 1 | -0/+19 |
| | |||||
* | r300: change vendor string to DRI R300 Project | Dave Airlie | 2007-03-17 | 1 | -1/+4 |
| | |||||
* | Assorted fixes for dealing with zero-size frame/renderbuffers. | Brian | 2007-03-16 | 4 | -35/+51 |
| | | | | | | | | | | In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still call _mesa_resize_framebufer(). If we don't we can wind up in a situation where the framebuffer size is non-zero but an attached renderbuffer size is still initialized to zero. This inconsistancy can later cause problems. Check for zero-size renderbuffers in update_color_draw_buffers() and update_color_read_buffer(). See bug 7205. | ||||
* | Colortable re-org. | Brian | 2007-03-16 | 8 | -268/+170 |
| | | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables. | ||||
* | added a renderbuffer comment | Brian | 2007-03-16 | 1 | -1/+1 |
| | |||||
* | added null xmctx check to XMesaResizeBuffers(), bug 7205 | Mathias Hopf | 2007-03-16 | 1 | -0/+2 |
| | |||||
* | Fixed a minor typo in the comment near _mesa_copy_instructions. | Oliver McFadden | 2007-03-15 | 2 | -3/+3 |
| | |||||
* | r300: Added _mesa_copy_instructions. | Oliver McFadden | 2007-03-15 | 4 | -5/+23 |
| | |||||
* | r300: Renamed r300_vertexprog.c to r300_vertprog.c | Oliver McFadden | 2007-03-15 | 2 | -1/+1 |
| | |||||
* | r300: Use _mesa_alloc_instructions/_mesa_init_instructions instead of malloc. | Oliver McFadden | 2007-03-15 | 2 | -14/+11 |
| | | | | | Note that insert_wpos in r300_vertexprog.c is still a little flaky and could be improved. | ||||
* | r300: Updated R300 to use the new SWIZZLE macros. | Oliver McFadden | 2007-03-15 | 2 | -9/+9 |
| | |||||
* | r300: Fixed an unused variable warning and removed some cruft, too. | Oliver McFadden | 2007-03-15 | 1 | -26/+0 |
| | |||||
* | r300: Fixed a printf conversion warning. | Oliver McFadden | 2007-03-15 | 1 | -2/+2 |
| | |||||
* | r300: Fixed "no previous prototype for 'r300RefillCurrentDmaRegion'" warning. | Oliver McFadden | 2007-03-15 | 1 | -2/+2 |
| |