Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: better function inlining in the presence of 'return' statements | Brian Paul | 2008-07-01 | 1 | -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 purposes | Brian Paul | 2008-07-01 | 1 | -3/+5 |
| | | | | cherry-picked from master | ||||
* | mesa: added null ptr checks | Brian Paul | 2008-06-28 | 1 | -2/+2 |
| | |||||
* | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | 2008-06-28 | 1 | -4/+6 |
| | |||||
* | mesa: check FEATURE_point_size_array | Brian Paul | 2008-06-28 | 1 | -0/+2 |
| | |||||
* | gallium: handle msaa | Roland Scheidegger | 2008-06-27 | 6 | -56/+69 |
| | |||||
* | mesa: Replace void * arithmetic. | José Fonseca | 2008-06-27 | 1 | -1/+1 |
| | |||||
* | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | 2008-06-27 | 8 | -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é Fonseca | 2008-06-27 | 1 | -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 arrays | Brian Paul | 2008-06-25 | 11 | -5/+110 |
| | |||||
* | mesa: Fix Windows GDI winsys build. | José Fonseca | 2008-06-24 | 1 | -0/+1 |
| | |||||
* | mesa: Use standard integer types. | José Fonseca | 2008-06-24 | 4 | -33/+37 |
| | | | | Especially get rid of the non-portable long long. | ||||
* | mesa: Replace deprecated __MSC__ macro. | José Fonseca | 2008-06-24 | 2 | -2/+2 |
| | |||||
* | mesa/dri: User standard integer types. | José Fonseca | 2008-06-24 | 56 | -347/+347 |
| | |||||
* | mesa: More signed/unsigned float/integer fixes. | José Fonseca | 2008-06-24 | 4 | -38/+38 |
| | |||||
* | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | 2008-06-24 | 9 | -29/+30 |
| | |||||
* | mesa: Use _mesa_bsearch. | José Fonseca | 2008-06-24 | 1 | -4/+4 |
| | |||||
* | mesa: bsearch implementation for WinCE. | José Fonseca | 2008-06-24 | 1 | -1/+18 |
| | |||||
* | mesa: Replace abort by asserts. | José Fonseca | 2008-06-24 | 4 | -8/+10 |
| | |||||
* | mesa: Move variable declarations to the scope top. | José Fonseca | 2008-06-24 | 1 | -5/+4 |
| | |||||
* | gallium: added support for fixed-point formats, drawing | Brian Paul | 2008-06-23 | 2 | -3/+14 |
| | |||||
* | mesa: ASSERT macro is already defined by WinCE headers. | José Fonseca | 2008-06-24 | 1 | -0/+2 |
| | | | | Even when just the standard headers are used.... | ||||
* | mesa: No getenv on WinCE. | José Fonseca | 2008-06-24 | 1 | -0/+4 |
| | |||||
* | gallium: fix-up inverted do_copy_texsubimage() | Brian Paul | 2008-06-23 | 1 | -21/+30 |
| | | | | The logic/arithmetic for inverting the src image is a bit simpler now. | ||||
* | gallium: remove dead/prototype code | Brian Paul | 2008-06-23 | 1 | -22/+0 |
| | |||||
* | Don't make libmesa.a or libglapi.a depend on asm_subdirs | Brian Paul | 2008-06-23 | 1 | -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 DRI | Dan Nicholson | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | gallium: Add accessor functions to get textures from a st_framebuffer | Jakob Bornecrantz | 2008-06-23 | 2 | -0/+19 |
| | |||||
* | gallium: s/feadback/feedback/, duh | Brian | 2008-06-20 | 1 | -2/+2 |
| | |||||
* | mesa: init ctx->RenderMode | Brian Paul | 2008-06-20 | 1 | -0/+2 |
| | |||||
* | mesa: GL_BYTE vertex/texcoord arrays | Brian Paul | 2008-06-20 | 2 | -0/+11 |
| | |||||
* | mesa: initial support for fixed-pt vertex arrays | Brian Paul | 2008-06-20 | 3 | -0/+26 |
| | |||||
* | mesa: refactor: move initialization of DefaultPacking state. | Brian Paul | 2008-06-20 | 2 | -20/+20 |
| | |||||
* | gallium: always need st_init-blit() | Brian Paul | 2008-06-20 | 1 | -4/+0 |
| | |||||
* | gallium: remove unneeded #include | Brian Paul | 2008-06-20 | 1 | -1/+0 |
| | |||||
* | mesa: fix errors in prev commit | Brian Paul | 2008-06-20 | 1 | -2/+2 |
| | |||||
* | mesa: revamp glBlendFunc loopback | Brian Paul | 2008-06-20 | 2 | -10/+9 |
| | |||||
* | mesa: added _vbo_Materialfv() | Brian Paul | 2008-06-20 | 2 | -0/+8 |
| | |||||
* | mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functions | Brian Paul | 2008-06-20 | 2 | -0/+31 |
| | |||||
* | mesa: fix some FEATURE_x tests | Brian Paul | 2008-06-20 | 1 | -6/+1 |
| | |||||
* | gallium: assorted FEATURE tests | Brian Paul | 2008-06-20 | 1 | -1/+9 |
| | |||||
* | gallium: remove unneeded #include | Brian Paul | 2008-06-20 | 1 | -1/+0 |
| | |||||
* | mesa: test for FEATURE_ATI_fragment_shader | Brian Paul | 2008-06-20 | 1 | -0/+2 |
| | |||||
* | gallium: new st_api.c file with token symbol for identifying the API | Brian Paul | 2008-06-19 | 2 | -0/+34 |
| | |||||
* | gallium: remove unused vars | Brian Paul | 2008-06-19 | 1 | -3/+0 |
| | |||||
* | mesa: Fix bug in _mesa_swizzle_ubyte_image | Brian Paul | 2008-06-18 | 1 | -1/+2 |
| | |||||
* | mesa: add fwd decl of fill_in_entrypoint_offset() | Brian Paul | 2008-06-18 | 1 | -0/+4 |
| | |||||
* | gallium: added new st_set_framebuffer_surface() | Brian Paul | 2008-06-18 | 2 | -0/+59 |
| | | | | | This allows the winsys to explicitly specify gallium surfaces for a framebuffer object. | ||||
* | mesa: fix ReadBuffer initialization | Brian Paul | 2008-06-18 | 1 | -0/+2 |
| | |||||
* | gallium: more FEATURE_x tests | Brian Paul | 2008-06-18 | 1 | -1/+5 |
| |