aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix problem freeing framebuffer/renderbuffer objectsBrian Paul2008-07-033-4/+62
| | | | Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj
* mesa: added case for fixed ptBrian Paul2008-07-031-0/+5
|
* gallium: move, increase ST_MAX_SHADER_TOKENSBrian Paul2008-07-032-3/+7
|
* gallium: fix surface memleak in bitmap codeBrian Paul2008-07-031-0/+5
| | | | Found w/ tunnel2.c demo.
* mesa: fix vertex array validation test for attribute 0 (vert pos)Brian Paul2008-07-021-8/+12
| | | | | | | We don't actually need vertex array[0] enabled when using a vertex program/shader. cherry-picked from master
* gallium: replace an assertion with "if (!texobj) continue"Brian Paul2008-07-021-1/+2
| | | | | | It's possible to call update_samplers() between the time a fragment shader is bound and when a texture image is defined (such as glClear). This fixes the case where we don't have a complete texture object yet.
* gallium: fix a bug in vertex program output mappingBrian Paul2008-07-021-9/+24
| | | | | | | Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots after all other attributes have been handled. This fixes a bug where generic vertex program outputs (varying vars) could get mapped to the same slot at point size or back-face colors.
* mesa: additional GLSL built-in constantsBrian Paul2008-07-022-13/+20
|
* mesa: when linking a shader program, make sure all the shaders compiled OKBrian Paul2008-07-021-0/+8
| | | | cherry-picked from master
* mesa: added some debug code (disabled)Brian Paul2008-07-022-0/+9
| | | | cherry-picked from master
* mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source()Brian Paul2008-07-021-2/+12
| | | | | | | | | If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... cherry-picked from master
* mesa: regenerated fileBrian Paul2008-07-021-152/+163
|
* mesa: added some missing equal() notEqual() intrinsicsBrian Paul2008-07-021-0/+33
| | | | cherry-picked from master
* mesa: disable some debug assertionsBrian Paul2008-07-021-0/+5
| | | | | We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday.
* mesa: regenerated filesBrian Paul2008-07-022-20/+35
|
* mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctorsBrian Paul2008-07-022-1/+39
| | | | cherry-picked from master
* mesa: added _mesa_print_swizzle() debugging helperBrian Paul2008-07-022-0/+16
|
* mesa: fix issues around multisample enableRoland Scheidegger2008-07-026-4/+22
| | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
* mesa: fix a GLSL vector subscript/writemask bugBrian Paul2008-07-011-47/+90
| | | | | | | | | | | This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. cherry-picked from master
* mesa: move some functionsBrian Paul2008-07-011-99/+99
| | | | cherry-picked from master
* mesa: make _slang_swizzle_swizzle() non-privateBrian Paul2008-07-012-9/+16
| | | | cherry-picked from master
* mesa: better function inlining in the presence of 'return' statementsBrian Paul2008-07-011-23/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. cherry-picked from master
* mesa: add/fix some IrInfo entries for debugging purposesBrian Paul2008-07-011-3/+5
| | | | cherry-picked from master
* mesa: added null ptr checksBrian Paul2008-06-281-2/+2
|
* s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()Brian Paul2008-06-281-4/+6
|
* mesa: check FEATURE_point_size_arrayBrian Paul2008-06-281-0/+2
|
* gallium: handle msaaRoland Scheidegger2008-06-276-56/+69
|
* mesa: Replace void * arithmetic.José Fonseca2008-06-271-1/+1
|
* gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca2008-06-278-45/+55
| | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
* mesa: Use the appropriate relocation.José Fonseca2008-06-271-1/+1
| | | | | | | I don't fully understand this, but this matches the assembly code gcc generates glapi.c and fixes following error on x86-64 with assembly: relocation R_X86_64_PC32 against `_gl_DispatchTSD' can not be used when making a shared object
* mesa: point size arraysBrian Paul2008-06-2511-5/+110
|
* mesa: Fix Windows GDI winsys build.José Fonseca2008-06-241-0/+1
|
* mesa: Use standard integer types.José Fonseca2008-06-244-33/+37
| | | | Especially get rid of the non-portable long long.
* mesa: Replace deprecated __MSC__ macro.José Fonseca2008-06-242-2/+2
|
* mesa/dri: User standard integer types.José Fonseca2008-06-2456-347/+347
|
* mesa: More signed/unsigned float/integer fixes.José Fonseca2008-06-244-38/+38
|
* mesa: Use appropriate unsigned/signed, float/integer types.José Fonseca2008-06-249-29/+30
|
* mesa: Use _mesa_bsearch.José Fonseca2008-06-241-4/+4
|
* mesa: bsearch implementation for WinCE.José Fonseca2008-06-241-1/+18
|
* mesa: Replace abort by asserts.José Fonseca2008-06-244-8/+10
|
* mesa: Move variable declarations to the scope top.José Fonseca2008-06-241-5/+4
|
* gallium: added support for fixed-point formats, drawingBrian Paul2008-06-232-3/+14
|
* mesa: ASSERT macro is already defined by WinCE headers.José Fonseca2008-06-241-0/+2
| | | | Even when just the standard headers are used....
* mesa: No getenv on WinCE.José Fonseca2008-06-241-0/+4
|
* gallium: fix-up inverted do_copy_texsubimage()Brian Paul2008-06-231-21/+30
| | | | The logic/arithmetic for inverting the src image is a bit simpler now.
* gallium: remove dead/prototype codeBrian Paul2008-06-231-22/+0
|
* Don't make libmesa.a or libglapi.a depend on asm_subdirsBrian Paul2008-06-231-2/+2
| | | | | | | | | | | | | | | | Since the asm_subdirs target does not actually create a file, make will always consider that it needs to be rebuilt. If libmesa.a and libglapi.a have asm_subdirs as a prerequisite, then they will always need to be rebuilt, too. The correct order will be preserved by the default target, though. This should fix #16358. Conflicts: src/mesa/Makefile cherry-picked from master
* Ensure all objects are built when installing DRIDan Nicholson2008-06-231-1/+1
|
* gallium: Add accessor functions to get textures from a st_framebufferJakob Bornecrantz2008-06-232-0/+19
|
* gallium: s/feadback/feedback/, duhBrian2008-06-201-2/+2
|