Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: get rid of gl_texture_object::_BorderChan | Brian Paul | 2009-04-01 | 2 | -5/+0 |
| | |||||
* | dri: use BorderColor instead of _BorderChan | Brian Paul | 2009-04-01 | 13 | -51/+102 |
| | |||||
* | swrast: remove old texture_apply() code; always use texture combine code | Brian Paul | 2009-04-01 | 3 | -403/+22 |
| | |||||
* | swrast: fix bad optimization check | Brian Paul | 2009-04-01 | 1 | -1/+2 |
| | |||||
* | swrast: remove unused parameter | Brian Paul | 2009-04-01 | 1 | -6/+1 |
| | |||||
* | swrast: minor improvements, clean-ups in texcombine code | Brian Paul | 2009-04-01 | 1 | -9/+8 |
| | |||||
* | mesa: simplify ycbcr->rgb conversion code | Brian Paul | 2009-04-01 | 1 | -32/+14 |
| | |||||
* | mesa: convert more texture fetch functions to return GLfloat | Brian Paul | 2009-04-01 | 2 | -107/+94 |
| | |||||
* | mesa: switch texel fetch functions from GLchan to GLfloat | Brian Paul | 2009-04-01 | 2 | -280/+266 |
| | |||||
* | swrast: use float4_array typedef to simplify the code a bit | Brian Paul | 2009-04-01 | 1 | -54/+71 |
| | |||||
* | mesa: texture combine clean-ups | Brian Paul | 2009-04-01 | 5 | -112/+108 |
| | | | | | | Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments. | ||||
* | swrast: refactor depth/shadow sampling code | Brian Paul | 2009-04-01 | 1 | -262/+271 |
| | |||||
* | swrast: general clean-up of texture combine code | Brian Paul | 2009-04-01 | 1 | -246/+161 |
| | |||||
* | swrast: do texture sampling/combining in floating point | Brian Paul | 2009-04-01 | 8 | -779/+512 |
| | | | | | The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled... | ||||
* | glsl: implement compiling/linking of separate compilation units | Brian Paul | 2009-04-01 | 6 | -23/+139 |
| | | | | | | | | | A shader program may consist of multiple shaders (source code units). If we find there are unresolved functions after compiling the unit that defines main(), we'll concatenate all the respective vertex or fragment shaders then recompile. This isn't foolproof but should work in most cases. | ||||
* | mesa: use correct tex unit lod bias for TXB instruction | Brian Paul | 2009-04-01 | 1 | -2/+2 |
| | |||||
* | swrast: fix glDrawBuffer(GL_FRONT_AND_BACK) | Brian Paul | 2009-04-01 | 1 | -2/+8 |
| | | | | We weren't putting the right colors into the back buffer in this mode. | ||||
* | mesa: fix a recursive display list problem | Brian Paul | 2009-04-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | This fixes an issue when compiling glCallList() into another display list when the mode is GL_COMPILE_AND_EXECUTE. Before, the call to glCallList() called _mesa_save_CallList() which called neutral_CallList() which then called _mesa_save_CallList() again. In the end, the parent display list contained two calls to the child display list instead of one. Let's be on the lookout for regressions caused by this change for a while before we cherry-pick this elsewhere. | ||||
* | r300-gallium: Translate vertex shader magic numbers. | Corbin Simpson | 2009-04-01 | 1 | -13/+51 |
| | |||||
* | r300-gallium: Fix compiler warnings. | Corbin Simpson | 2009-04-01 | 2 | -13/+13 |
| | | | | | | "const" is the right keyword, but I can't do that without adding a bunch of really annoying and ugly const casts everywhere, and frankly, that's really stupid, so instead, just don't make them const. | ||||
* | r300-gallium: Add vertex shader for surface_copy. | Corbin Simpson | 2009-04-01 | 2 | -11/+37 |
| | |||||
* | util: Fix x86_64 build. | José Fonseca | 2009-04-01 | 1 | -1/+1 |
| | |||||
* | util: Lookup symbol names from addresses. | José Fonseca | 2009-04-01 | 5 | -1/+308 |
| | | | | | | Nice for stack backtraces. Windows-only for now. | ||||
* | tgsi: Fix structure members initialisation. | Michal Krol | 2009-04-01 | 1 | -116/+116 |
| | |||||
* | python/regress: Add vertex shader LRP test. | Michal Krol | 2009-04-01 | 2 | -0/+15 |
| | |||||
* | python/regress: Add vertex shader FRC test. | Michal Krol | 2009-04-01 | 2 | -0/+17 |
| | |||||
* | glsl: fix texgen state variable tokens in emit_statevars() | Brian Paul | 2009-04-01 | 1 | -8/+16 |
| | | | | | This fixes broken variable indexing into the gl_Eye/ObjectPlaneS/T/R/Q arrays. See bug 20986. | ||||
* | mesa: minor tweaks in append_token() for printing state var strings | Brian Paul | 2009-04-01 | 1 | -8/+8 |
| | |||||
* | tgsi: Lookup alternate instruction mnemonics when parsing tgsi text. | Michal Krol | 2009-04-01 | 1 | -1/+21 |
| | |||||
* | tgsi: Provide alternate instruction mnemonics in tgsi info. | Michal Krol | 2009-04-01 | 2 | -29/+31 |
| | |||||
* | tgsi/doc: Fix typo. | Michal Krol | 2009-04-01 | 1 | -1/+1 |
| | |||||
* | python/regress: Add vertex shader EX2 test. | Michal Krol | 2009-04-01 | 2 | -0/+19 |
| | |||||
* | python/regress: Add vertex shader DST test. | Michal Krol | 2009-04-01 | 2 | -0/+12 |
| | |||||
* | python/regress: Fix vertex shader XPD test. | Michal Krol | 2009-04-01 | 1 | -2/+2 |
| | |||||
* | python/regress: Indent. | Michal Krol | 2009-04-01 | 8 | -0/+30 |
| | |||||
* | python/regress: Add vertex shader test for XPD. | Michal Krol | 2009-04-01 | 2 | -0/+9 |
| | |||||
* | python/regress: Rename test files from *.txt to *.sh -- won't be .gitignored. | Michal Krol | 2009-04-01 | 8 | -1/+1 |
| | |||||
* | python/regress: Add more vertex shader tests. | Michal Krol | 2009-04-01 | 4 | -0/+33 |
| | |||||
* | r300-gallium: Backwards test. | Corbin Simpson | 2009-03-31 | 1 | -1/+1 |
| | | | | Wow, how long's that been there? Embarrassing. | ||||
* | r300-gallium: Moar vert shader emit. | Corbin Simpson | 2009-03-31 | 5 | -16/+34 |
| | |||||
* | r300-gallium: Add vertex shader emit. | Corbin Simpson | 2009-03-31 | 6 | -28/+57 |
| | |||||
* | r300-gallium: Stubs for vertex shaders. | Corbin Simpson | 2009-03-31 | 5 | -3/+293 |
| | |||||
* | tgsi: added some helpful debug functions in the tgsi interpreter | Brian Paul | 2009-03-31 | 1 | -0/+53 |
| | | | | Check for NaN/Inf, print exec vectors, print temp registers. | ||||
* | mesa: fix bug in GPU codegen for fixed-function two-sided lighting | Brian Paul | 2009-03-31 | 1 | -2/+12 |
| | | | | | | | | | | | | | The 'dots' register wasn't getting properly un-negated and un-swizzled after emitting the code for back-face lighting. So, if more than one light source was enabled, the specular exponent for the next light source was wrong. During execution we were evaluating pow(x, y) where y was negative instead of positive. This led to the outcome being zero or NaN. This fixes the occasional black triangles seen in isosurf when hacked to enable two-sided lighting. | ||||
* | draw: added Nan/Inf assertion in debug code | Brian Paul | 2009-03-31 | 1 | -0/+1 |
| | |||||
* | softpipe: use util_is_inf_or_nan() | Brian Paul | 2009-03-31 | 1 | -12/+5 |
| | | | | And print/warn NaN/Inf in print_vertex(). | ||||
* | gallium: added util_is_inf_or_nan() function to u_math.h | Brian Paul | 2009-03-31 | 1 | -0/+12 |
| | |||||
* | mesa: minor reformatting, whitespace changes | Brian Paul | 2009-03-31 | 1 | -25/+26 |
| | |||||
* | python/regress: Initial commit for vertex shader regression tests. | Michal Krol | 2009-04-01 | 5 | -0/+280 |
| | |||||
* | Updated CPU_TO_LE32 to work on darwin | Jeremy Huddleston | 2009-03-31 | 1 | -1/+4 |
| |