summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: glsl: only try to link shaders defining main()Brian Paul2008-07-294-37/+31
|
* mesa: Silence compiler warning on windows.Michal Krol2008-07-291-1/+1
|
* mesa: glsl: fix/simplify array element handlingBrian Paul2008-07-291-39/+15
| | | | Also fix bug in comparing large structs/arrays.
* mesa: glsl: mark constructor params as constBrian Paul2008-07-291-1/+2
|
* mesa: glsl: rework swizzle storage handlingBrian Paul2008-07-293-53/+40
| | | | Build on the heirarchal approach implemented for arrays/structs.
* mesa: fix uninitialized varBrian Paul2008-07-291-0/+1
|
* mesa: glsl: implement constructor functions for user-defined typesBrian Paul2008-07-292-5/+174
|
* mesa: remove stray debug assertionBrian Paul2008-07-291-1/+0
|
* mesa: fix glUniform error checking for samplersBrian2008-07-291-0/+24
|
* mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.cBrian Paul2008-07-294-226/+213
| | | | No API-level functions now in program.c.
* mesa: initial support for GLSL struct/array comparisonsBrian Paul2008-07-291-14/+57
|
* mesa: added null ptr check (error handling case)Brian Paul2008-07-291-0/+3
|
* mesa: fix +=, -=, etc. operatorsBrian Paul2008-07-291-4/+4
|
* mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_pBrian Paul2008-07-291-5/+0
|
* mesa: fix some issues in _mesa_validate_program()Brian Paul2008-07-291-5/+11
|
* mesa: assorted glsl uniform/attribute fixesBrian Paul2008-07-295-43/+166
| | | | | | Fix incorrect uniform/attribute size query results. Add missing error checking for glUniform, glUniformMatrix params Fix an array size/allocation error.
* mesa: glsl: various writemask/swizzle improvements and clean-upsBrian Paul2008-07-295-70/+81
|
* mesa: rework array/struct addressing code.Brian Paul2008-07-297-138/+372
| | | | | | | The slang_ir_storage type now has a pointer to parent storage to represent storage of an array element within an array, or a field within a struct. This fixes some problems related to addressing of fields/elements in non- trivial cases. More work to follow.
* mesa: fix some GLSL /= int operatorsBrian Paul2008-07-291-7/+21
| | | | plus add a few more special constructors to improve code quality.
* mesa: fix set_program_uniform_matrix(): need to loop over matrix countBrian Paul2008-07-291-18/+24
|
* mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul2008-07-295-10/+252
| | | | Plus, fix some issues with pre-defined preprocessor symbols and version checking.
* mesa: Silence compiler warnings on Windows.Brian Paul2008-07-291-7/+3
|
* mesa: fix some function inlining bugsBrian Paul2008-07-294-1/+53
| | | | | | Need to add local vars of original function to the new scope's variable list (though the DECLs were already present). In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
* mesa: improved printingBrian Paul2008-07-291-4/+8
|
* document GLSL 1.20 statusBrian Paul2008-07-291-0/+35
|
* disable GL_ARB_shading_language_120 until 1.20 features are completeBrian Paul2008-07-291-2/+2
|
* autoconf: disable dri drivers build if being askedFlorent Thoumie2008-07-281-6/+13
| | | | | | | Allow --with-dri-drivers={,no} to disable DRI drivers build. Signed-off-by: Florent Thoumie <[email protected]> Signed-off-by: Robert Noland <[email protected]>
* r300: Fix off-by-one error in calculation of scissor cliprect.Michel Dänzer2008-07-281-2/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16123 .
* r300: Fix a crash related to depth textures (triggered by Glest w/ shadowmaps)Nicolai Haehnle2008-07-271-0/+2
|
* r300: Implement ARB_shadow_ambient; add STATE_SHADOW_AMBIENTNicolai Haehnle2008-07-275-26/+86
|
* r300: Fix point minmax sizeNicolai Haehnle2008-07-271-2/+2
| | | | There are 6 subpixel units per pixel, not 16.
* r300: Implement hardware acceleration for ColorLogicOpNicolai Haehnle2008-07-275-4/+49
|
* r500: Handle non-native swizzles in texture instructionsNicolai Haehnle2008-07-272-26/+79
| | | | This fixes piglit's fp-kil and fp-generic/kil-swizzle tests.
* r500: Redirect TEX writes to output registersNicolai Haehnle2008-07-271-0/+7
| | | | | | | | While R500 fragment program texture instructions appear to support writemasks, they cannot write to the output FIFO immediately, so we need to insert a MOV for these instructions. This fixes piglit's fp-fragment-position and fp-incomplete-tex tests.
* r200: Do not set second coordinate clamping for 1D texturesNicolai Haehnle2008-07-261-31/+33
| | | | Fixes piglit's tex1d-border test.
* r300: Always emit LOAD_VBPNTR immediately before index-based renderingNicolai Haehnle2008-07-261-1/+12
| | | | This fixes one type of lockup I've been seeing on my test system.
* i965: fixup format for TFP zero copyDave Airlie2008-07-251-2/+12
|
* Revert "intel: disable zero-copy TFP."Dave Airlie2008-07-251-4/+0
| | | | | | This reverts commit 94979950e8991bd44899eb4067c3ae43449ce51e. I've fixed it instead
* i965: make tex offset override work..Dave Airlie2008-07-251-19/+31
| | | | should fix fd.o 14441
* intel: disable zero-copy TFP.Dave Airlie2008-07-251-0/+4
| | | | | patch from Fedora. maybe someone can fix this later but for now lets try and release Mesa so ajax can live his life and get Xorg 7.4 out.
* mesa: move extensions->version code into separate functionBrian Paul2008-07-241-70/+72
|
* mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION stringBrian Paul2008-07-241-3/+5
|
* query/print GLSL version stringBrian Paul2008-07-241-0/+7
|
* intel: remove buffer swap debug outputJesse Barnes2008-07-241-8/+2
| | | | Accidentally pushed as part of the last commit.
* Revert "965: Fix color clamping issues"Ian Romanick2008-07-241-23/+3
| | | | | | This reverts commit b993d539a76e7f1446890a85e4b61deec4d4162d. The patch was applied incorrectly. Actual fix coming soon. Sorry for the noise.
* Fix a typo.Thomas Hellstrom2008-07-241-1/+1
|
* Add new demo "fbo_firecube".Thomas Hellstrom2008-07-242-0/+1042
| | | | Tests fbo render-to-texture for various internal texture image formats.
* 965: Fix partially transparent textures in Doom 3 engine gamesPawel Pieczul2008-07-231-7/+8
| | | | | Numbers of destination depth registers corrected (destination stencil register was sent as depth register).
* intel: fix buffer swaps and enable page flipping on 965Jesse Barnes2008-07-221-39/+15
| | | | | | | | | | Some buffer swap intel render buffer fields (pf_num_pages & vbl_pending) are also used for page flipping, so enable the code that sets & updates them on 965. This allows buffer swaps and page flips to work on 965 and prevents hangs in LOCK_HARDWARE in the buffer swap case due to an uninitialized vbl_pending field. Fixes FDO #16118.
* 965: Fix color clamping issuesPawel Pieczul2008-07-211-3/+23
|