Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Re-org and clean-up of vertx/fragment program limits (instructions, | Brian Paul | 2005-11-01 | 14 | -238/+283 |
| | | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts. | ||||
* | fix problems found with gcc 2.96 (bug 4934) | Brian Paul | 2005-10-31 | 7 | -21/+55 |
| | |||||
* | check swrast->_FogEnabled instead of ctx->Fog.Enabled | Brian Paul | 2005-10-31 | 6 | -16/+24 |
| | |||||
* | Need more than 200 instructions. | Aapo Tahkola | 2005-10-31 | 1 | -1/+1 |
| | |||||
* | Improve tnl program searching performance. | Aapo Tahkola | 2005-10-31 | 2 | -17/+62 |
| | |||||
* | Simplify parse_attrib_binding(). | Brian Paul | 2005-10-30 | 1 | -98/+49 |
| | | | | | | Now only use VERT_ATTRIB_* and FRAG_ATTRIB_* tokens instead of hard-coded numbers. Note: previous check-in did similarly for output register parsing. | ||||
* | Lots of clean-up in arb program parser. | Brian Paul | 2005-10-30 | 5 | -231/+250 |
| | | | | Use new _mesa_init_fp/vp_instruction() function to initialize instructions. | ||||
* | need to use absolute value for RSQ | Brian Paul | 2005-10-30 | 1 | -1/+2 |
| | |||||
* | added some assertions to catch unexpected swizzle values in cvp_emit_arg(), ↵ | Brian Paul | 2005-10-29 | 1 | -0/+7 |
| | | | | currently fails sometimes | ||||
* | Use MAKE_SWIZZLE4() macro in a few more places. | Brian Paul | 2005-10-29 | 1 | -119/+98 |
| | | | | Clean up the parse_extended_swizzle_mask() and parse_swizzle_mask() functions. | ||||
* | reduced swizzle comment | Brian Paul | 2005-10-29 | 1 | -0/+4 |
| | |||||
* | Free old parameter list before assigning new one. FIxes memory leak. | Brian Paul | 2005-10-29 | 2 | -3/+13 |
| | |||||
* | added warning about use of REG_SCRATCH | Brian Paul | 2005-10-29 | 1 | -1/+1 |
| | |||||
* | clean-up comments | Brian Paul | 2005-10-29 | 1 | -6/+9 |
| | |||||
* | s/lenght/length/ | Brian Paul | 2005-10-29 | 1 | -2/+2 |
| | |||||
* | fix LIT bug | Brian Paul | 2005-10-29 | 1 | -1/+9 |
| | |||||
* | fix a few bugs in SWZ execution | Brian Paul | 2005-10-29 | 1 | -5/+5 |
| | |||||
* | fix errors in RoughApproxPower(), do_LIT(), _tnl_program_string() | Brian Paul | 2005-10-29 | 1 | -11/+12 |
| | |||||
* | If parsing a program fails, don't change the vertex/fragment program object. | Brian Paul | 2005-10-29 | 4 | -54/+52 |
| | | | | | | Specifically, don't attach a dummy program. This change also fixes an occasional segfault. Some code clean-ups. Use GLboolean instead of GLuint to return pass/fail. | ||||
* | Bug #4901: Correct secondary color emission when lighting is turned off, tested | Eric Anholt | 2005-10-29 | 2 | -6/+8 |
| | | | | | | with seccolor on rv200 and r200. Submitted by: sroland | ||||
* | Add new test "texfilt". This test is a cousin to texwrap. Instead of | Ian Romanick | 2005-10-28 | 2 | -3/+402 |
| | | | | | | | | testing various texture wrap modes, this test examines various texture filter modes, including anisotropic. Add CFLAGS to a couple places in Makefile so that 32-bit builds on 64-bit archs will work correctly. | ||||
* | Keith's fixes for RSW and XPD (need temporaries) | Brian Paul | 2005-10-28 | 1 | -9/+22 |
| | |||||
* | include tnl.h to silence warning | Brian Paul | 2005-10-28 | 1 | -1/+2 |
| | |||||
* | Added assert that result != arg0 in do_RSW. This currently fails and needs ↵ | Brian Paul | 2005-10-28 | 1 | -0/+2 |
| | | | | fixing. | ||||
* | TNL module needs to implement ctx->Driver.ProgramStringNotify() function | Brian Paul | 2005-10-28 | 3 | -0/+22 |
| | | | | | so that calls to glProgramStringARB() to specify a new program causes the TNL-attached data to get recomputed. | ||||
* | add newline at end of file | Brian Paul | 2005-10-28 | 3 | -3/+3 |
| | |||||
* | don't use -Wmissing-prototypes for C++ code | Brian Paul | 2005-10-28 | 2 | -8/+6 |
| | |||||
* | silence a bunch of compiler warnings | Brian Paul | 2005-10-28 | 14 | -38/+69 |
| | |||||
* | Silence gcc-4 warnings. | Aapo Tahkola | 2005-10-28 | 1 | -3/+3 |
| | |||||
* | Fix texture mixup when two or more contexts. | Aapo Tahkola | 2005-10-28 | 1 | -4/+5 |
| | |||||
* | fix missing commit for span changes | Dave Airlie | 2005-10-28 | 1 | -0/+1 |
| | |||||
* | fix up radeon span functions using latest r200 code from Brian, | Dave Airlie | 2005-10-28 | 2 | -177/+178 |
| | | | | tested with reflect on 32-bit.. not sure why depthHasSurface isn't needed | ||||
* | Compiled arrays for vtxfmt_a path. | Aapo Tahkola | 2005-10-28 | 5 | -28/+85 |
| | |||||
* | GC a bit of dead code I noticed while looking at texwrap. | Eric Anholt | 2005-10-28 | 1 | -7/+0 |
| | |||||
* | Correct the ordering of the blend constant color. | Eric Anholt | 2005-10-28 | 2 | -3/+4 |
| | |||||
* | Add support for GL_EXT_stencil_wrap, from hearing that the windows drivers did | Eric Anholt | 2005-10-27 | 3 | -17/+25 |
| | | | | | | | it, and guessing that the two remaining entries in the 3-bit values were the new funcs. Tested with modified stencilwrap test. Also, remove the commented fallback stuff -- more modification to stencilwrap suggests that those issues were just from span readback, not stencil implementation. | ||||
* | Bug #1028: Add hardware-accelerated stencil support to r128. Testing with | Eric Anholt | 2005-10-27 | 6 | -16/+367 |
| | | | | | | | | | | | | stencilwrap reported many issues with various modes. Some of these were complicated by the fact that spans are broken (Bug #1615), but some appear to be real bugs. However, while spans remain broken, I found that visual results were better by avoiding fallbacks rather than avoiding just a broken stencil implementation. Note that this required changing the depth spans at 24+8bpp into read-modify-write cycles. It would be nicer as a single write with a mask, but the kernel span blits turn off masking. Reviewed by: ajax | ||||
* | Bug #4900: Fix the non-fogcoord fog test on r100 (and rv200) at tcl_mode=1 by | Eric Anholt | 2005-10-27 | 1 | -2/+8 |
| | | | | | flipping the signs on two factors. While this contradicts the DDK, it matches what r200 does, and it fixes the test. | ||||
* | Add support for HW stencil spans, mirroring the depth spans support. Used for | Eric Anholt | 2005-10-27 | 1 | -2/+51 |
| | | | | Rage 128 stencil support. | ||||
* | Bump driver date for recent extension adds. | Eric Anholt | 2005-10-27 | 1 | -1/+1 |
| | |||||
* | Cover my arse. | Aapo Tahkola | 2005-10-26 | 1 | -1/+1 |
| | |||||
* | Reduce stderr noise and fix some compiler warnings. | Aapo Tahkola | 2005-10-26 | 7 | -345/+33 |
| | |||||
* | Remove few outdated r200 files. | Aapo Tahkola | 2005-10-26 | 5 | -108/+4 |
| | |||||
* | Sync with my local tree. | Aapo Tahkola | 2005-10-26 | 16 | -156/+1898 |
| | | | | | | Changes to current operation: -Elts are no longer converted to 16-bit format -Cube maps | ||||
* | Fix invalid vsf temp count for rv350. | Aapo Tahkola | 2005-10-26 | 1 | -3/+3 |
| | |||||
* | Fix the RGB order of the specular color emit, and turn GL_EXT_secondary_color | Eric Anholt | 2005-10-26 | 3 | -17/+6 |
| | | | | | | | back on. Tested using seccolor modified to use the blue channel instead of green, since green stays in the same place across RGB/BGR mistakes. Also hook in UpdateSpecular on COLOR_EXT change, which might have resulted in missing statechanges before. | ||||
* | Add support for GL_EXT_fog_coord, tested using tests/fog.c. (Also, matches the | Eric Anholt | 2005-10-26 | 1 | -0/+2 |
| | | | | output from indirect rendering). | ||||
* | Add built programs to .cvsignore. | Eric Anholt | 2005-10-26 | 1 | -0/+52 |
| | |||||
* | Add a fog mode (normal and fog_coord, leaner/exp/exp2 mode) testing program I | Eric Anholt | 2005-10-26 | 2 | -0/+200 |
| | | | | wrote for sis, which has also exposed a few bugs elsewhere. | ||||
* | Add disabled support for GL_EXT_fog_coord. While it seems correct to me, it's | Eric Anholt | 2005-10-26 | 4 | -17/+35 |
| | | | | | | | | not respecting the coords (or perhaps interpreting them differently?) in my testing. However, in the process it led to a fix of a secondary color handling issue where it would be taken from the wrong offset, I believe, based off of reading the r200 driver. Also add a minor tweak to save time in the fog-but-not-specular case. |