summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* r300compiler: fix scons build againJoakim Sindholt2009-10-071-1/+8
|
* Merge branch 'master' into r300g-glslNicolai Hähnle2009-10-0736-142/+376
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <[email protected]>
| * Merge branch 'mesa_7_6_branch'Nicolai Hähnle2009-10-074-25/+58
| |\
| | * shader_api: Fix bounds checking of glUniform and glUniformMatrixNicolai Hähnle2009-10-071-9/+22
| | | | | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
| | * prog_parameter: Document the fact that Size may be > 4Nicolai Hähnle2009-10-071-1/+7
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
| | * mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul2009-10-072-12/+28
| | |
| | * swrast: s/GLfloat/GLuint/ in bzero()Brian Paul2009-10-071-1/+1
| | |
| | * swrast: add missing returnsBrian Paul2009-10-071-0/+2
| | |
| | * mesa/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul2009-10-071-3/+5
| | | | | | | | | | | | | | | A little better than leaving the values undefined, I think. See bug 24321.
| * | mesa/st: add missing mesa constant file nameKeith Whitwell2009-10-071-10/+11
| | | | | | | | | | | | | | | There are many different names for constants in mesa, we were missing one since the ureg rewrite.
| * | st/mesa: pass pipe_screen, not pipe_context to st_choose_format() functionsBrian Paul2009-10-075-12/+15
| | | | | | | | | | | | These don't depend on context state, but use a screen pointer.
| * | r600: r700PredictRenderSize can flush, so move index buffer setup after itAndre Maasikas2009-10-061-1/+1
| | |
| * | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-0515-75/+101
| |\| | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| | * intel: use driReadDrawable in do_copy_texsubimage()Brian Paul2009-10-051-1/+1
| | |
| | * intel: use driReadDrawable, not driDrawable in do_blit_readpixels()Brian Paul2009-10-051-2/+2
| | |
| | * intel: remove a buffer equality test in _mesa_make_current()Brian Paul2009-10-051-33/+27
| | | | | | | | | | | | | | | | | | | | | Before, if we called glXMakeCurrent() to change a context's window binding while an FBO was bound, we weren't updating the intel->driDrawable and intel->driReadDrawable fields. This could cause us to dereference a null pointer elsewhere.
| | * mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Brian Paul2009-10-051-2/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Ben Skeggs <[email protected]> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
| | * Use _mesa_select_tex_image() rather than hardcoding face 0.Michel Dänzer2009-10-051-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
| | * r200: remove subpixel offset from viewportFrederic Crozat2009-10-041-11/+4
| | | | | | | | | | | | Fixes bug fdo 20340 for r200.
| | * r300: Workaround problem on R500 with very large fragment programsNicolai Hähnle2009-10-032-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <[email protected]>
| | * mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()Brian Paul2009-10-021-1/+1
| | | | | | | | | | | | | | | If we deleted a currently bound texture, we were always reverting the texture binding to the default 1D texture rather than the proper default texture.
| | * xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul2009-10-021-2/+2
| | | | | | | | | | | | The parameter is a bitmask.
| | * mesa: fix memory leak when generating mipmaps for compressed texturesBrian Paul2009-10-011-6/+10
| | |
| | * mesa: fix mem leaksBrian Paul2009-10-011-0/+4
| | |
| | * mesa: add missing return when out of memoryBrian Paul2009-10-011-0/+1
| | |
| | * mesa: fix potential uninitialized memory readsBrian Paul2009-10-011-0/+6
| | |
| | * glsl: fix mem leakBrian Paul2009-10-011-0/+1
| | |
| | * st/mesa: check for null before asserts, fix possible mem leakBrian Paul2009-10-011-6/+7
| | |
| | * st/mesa: silence hidden parameter warningBrian Paul2009-10-011-6/+6
| | |
| | * st/mesa: fix non-mipmap lastLevel calculation.Brian Paul2009-10-011-1/+5
| | | | | | | | | | | | | | | reviewed by Brian Paul. (cherry picked from master, commit ae2daacbac7242938cffe0e2409071e030e00863)
| * | r300g: fix scons buildJoakim Sindholt2009-10-051-0/+30
| | | | | | | | | | | | | | | | | | So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
| * | mesa: Copy textures' base format into wrapper renderbuffer.José Fonseca2009-10-051-0/+1
| | | | | | | | | | | | | | | Otherwise st_copy_texsubimage will fallback to software blit due to inconsistent base formats.
| * | mesa/st: add ST_DEBUG environment variableKeith Whitwell2009-10-0510-8/+119
| | | | | | | | | | | | | | | At last it's possible to turn on tgsi dumps and other debugging in the state tracker without modifying sources...
| * | r600: update vertex program selection for draw pathAndre Maasikas2009-10-051-5/+35
| | |
| * | mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Ben Skeggs2009-10-051-2/+2
| | | | | | | | | | | | Signed-off-by: Ben Skeggs <[email protected]>
| * | intel: Suppress a compiler warning for an pointer->int castChris Wilson2009-10-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | intel_pixel_read.c: In function ‘do_blit_readpixels’: intel_pixel_read.c:221: warning: cast from pointer to integer of different size Cast via an intermediate (GLintptr) instead and hope the result fits within GLuint... [It should as we simply do not support textures *that* large!] Signed-off-by: Chris Wilson <[email protected]>
| * | intel: Assert that relocation offsets are within the targetChris Wilson2009-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | This should catch the common programming error where we attempt to emit a relocation to beyond the end of the target buffer. Signed-off-by: Chris Wilson <[email protected]>
* | | r300/compiler: Fix R300 vertex program dumpsNicolai Hähnle2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | The source register field has 8 bits. Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Fix yet another regression in register allocationNicolai Hähnle2009-10-061-0/+1
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Fix a really stupid logic inversion in the generic dataflow codeNicolai Hähnle2009-10-061-1/+1
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Fix regression in pair schedulingNicolai Hähnle2009-10-061-3/+25
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler Add support for more of the Sxx set instructionsNicolai Hähnle2009-10-041-1/+61
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Emit flow control instructions and ALU result writes on R500Nicolai Hähnle2009-10-048-15/+183
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Refactor the radeon_pair code to support control flow ↵Nicolai Hähnle2009-10-0416-1009/+1524
| | | | | | | | | | | | | | | | | | instructions Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Refactor to allow different instruction typesNicolai Hähnle2009-10-0415-427/+433
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Introduce aluresult register for branch operation supportNicolai Hähnle2009-10-047-15/+154
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Introduce control flow instructions and refactor dataflowNicolai Hähnle2009-10-0314-776/+431
| | | | | | | | | | | | | | | | | | Note that control flow instruction support isn't actually fully functional yet. Signed-off-by: Nicolai Hähnle <[email protected]>
* | | Merge branch 'master' into r300-compilerNicolai Hähnle2009-10-03168-4187/+7453
|\| |
| * | prog_parameter: Document the fact that Size may be > 4Nicolai Hähnle2009-10-031-1/+7
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
| * | radeon: Cope better with texture images with no miptrees.Michel Dänzer2009-10-031-2/+7
| | | | | | | | | | | | Fixes crash with compiz magnifier plugin.