summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-07-01mesa: better function inlining in the presence of 'return' statementsBrian Paul
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
2008-07-01mesa: add/fix some IrInfo entries for debugging purposesBrian Paul
cherry-picked from master
2008-06-28mesa: added null ptr checksBrian Paul
2008-06-28s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv()Brian Paul
2008-06-28mesa: check FEATURE_point_size_arrayBrian Paul
2008-06-27gallium: handle msaaRoland Scheidegger
2008-06-27mesa: Replace void * arithmetic.José Fonseca
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
2008-06-27mesa: Use the appropriate relocation.José Fonseca
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
2008-06-25mesa: point size arraysBrian Paul
2008-06-24mesa: Fix Windows GDI winsys build.José Fonseca
2008-06-24mesa: Use standard integer types.José Fonseca
Especially get rid of the non-portable long long.
2008-06-24mesa: Replace deprecated __MSC__ macro.José Fonseca
2008-06-24mesa/dri: User standard integer types.José Fonseca
2008-06-24mesa: More signed/unsigned float/integer fixes.José Fonseca
2008-06-24mesa: Use appropriate unsigned/signed, float/integer types.José Fonseca
2008-06-24mesa: Use _mesa_bsearch.José Fonseca
2008-06-24mesa: bsearch implementation for WinCE.José Fonseca
2008-06-24mesa: Replace abort by asserts.José Fonseca
2008-06-24mesa: Move variable declarations to the scope top.José Fonseca
2008-06-23gallium: added support for fixed-point formats, drawingBrian Paul
2008-06-24mesa: ASSERT macro is already defined by WinCE headers.José Fonseca
Even when just the standard headers are used....
2008-06-24mesa: No getenv on WinCE.José Fonseca
2008-06-23gallium: fix-up inverted do_copy_texsubimage()Brian Paul
The logic/arithmetic for inverting the src image is a bit simpler now.
2008-06-23gallium: remove dead/prototype codeBrian Paul
2008-06-23Don't make libmesa.a or libglapi.a depend on asm_subdirsBrian Paul
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
2008-06-23Ensure all objects are built when installing DRIDan Nicholson
2008-06-23gallium: Add accessor functions to get textures from a st_framebufferJakob Bornecrantz
2008-06-20gallium: s/feadback/feedback/, duhBrian
2008-06-20mesa: init ctx->RenderModeBrian Paul
2008-06-20mesa: GL_BYTE vertex/texcoord arraysBrian Paul
2008-06-20mesa: initial support for fixed-pt vertex arraysBrian Paul
2008-06-20mesa: refactor: move initialization of DefaultPacking state.Brian Paul
2008-06-20gallium: always need st_init-blit()Brian Paul
2008-06-20gallium: remove unneeded #includeBrian Paul
2008-06-20mesa: fix errors in prev commitBrian Paul
2008-06-20mesa: revamp glBlendFunc loopbackBrian Paul
2008-06-20mesa: added _vbo_Materialfv()Brian Paul
2008-06-20mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functionsBrian Paul
2008-06-20mesa: fix some FEATURE_x testsBrian Paul
2008-06-20gallium: assorted FEATURE testsBrian Paul
2008-06-20gallium: remove unneeded #includeBrian Paul
2008-06-20mesa: test for FEATURE_ATI_fragment_shaderBrian Paul
2008-06-19gallium: new st_api.c file with token symbol for identifying the APIBrian Paul
2008-06-19gallium: remove unused varsBrian Paul
2008-06-18mesa: Fix bug in _mesa_swizzle_ubyte_imageBrian Paul
2008-06-18mesa: add fwd decl of fill_in_entrypoint_offset()Brian Paul
2008-06-18gallium: added new st_set_framebuffer_surface()Brian Paul
This allows the winsys to explicitly specify gallium surfaces for a framebuffer object.
2008-06-18mesa: fix ReadBuffer initializationBrian Paul
2008-06-18gallium: more FEATURE_x testsBrian Paul