Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-30 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
Conflicts: src/mesa/main/config.h | |||
2008-12-30 | mesa: fix bug in evaluation of structure fields | Brian Paul | |
Fixes incorrect size information. See bug 19273. | |||
2008-12-30 | mesa: allow variable indexing into the predefined uniform variable arrays | Brian Paul | |
This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work. When a built-in uniform array is indexed with a variable index we need to "unroll" the whole array into the parameter list (aka constant buffer) because we don't know which elements may be accessed at compile-time. In the case of the gl_LightSource array of size [8], we emit 64 state references into the parameter array (8 elements times 8 vec4s per gl_LightSourceParameters struct). Previously, we only allowed constant-indexed references to uniform arrays (such as gl_LightSource[2].position) which resulted in a single state reference being added to the parameter array, not 64. We still optimize this case. Users should be aware that using "gl_LightSource[i].ambient" in their shaders is a bit expensive since state validation will involve updating all 64 light source entries in the parameter list. | |||
2008-12-30 | mesa: better error message when running out of GLSL samplers | Brian Paul | |
2008-12-30 | mesa: comments for some state vars | Brian Paul | |
2008-12-30 | mesa: increase max constants/uniforms to 256 (vec4 vectors) | Brian Paul | |
2008-12-30 | gallium: Initialize var before use. | José Fonseca | |
2008-12-30 | glut: List new source file in sconscript. | José Fonseca | |
2008-12-30 | mesa: Do not specify types in bitfields. | José Fonseca | |
As advised by gcc -pedantic. | |||
2008-12-30 | draw: Do not specify types in bitfields. | José Fonseca | |
As advised by gcc -pedantic. | |||
2008-12-30 | gallium: Remove unused variables. | José Fonseca | |
2008-12-30 | gallium: Don't redefine INLINE. | José Fonseca | |
INLINE is commonly used in third-party headers. | |||
2008-12-30 | scons: Specify C99 throughout all the tree. | José Fonseca | |
MSVC may not support full C99, but supports more than plain C90. And -pedantic without -std=c99 generates too many spurious warnings (specially C++ style comments) to be of any use. Note that using certain C99 features in the cross-platform parts of Gallium is still not possible; namely mid-of-scope variable declarations and named structure initializers will break MSVC builds. | |||
2008-12-30 | rtasm: Remove spurious semi-colons after function bodies. | José Fonseca | |
2008-12-30 | gdi: Remove accidental keypresses. | José Fonseca | |
2008-12-30 | mesa: updated compilation documentation | Brian Paul | |
2008-12-30 | demos: minor fixes to twoside.c glsl demo | Brian Paul | |
2008-12-30 | intel: disable ATI_texture_env_combine3 for i830( and related device). | Xiang, Haihao | |
Thanks to Eric for pointing it out. | |||
2008-12-29 | dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0. | Eric Anholt | |
We'd come up with a negative remainder, while we were looking for the positive version of it in the loop conditional. And, since the "did we hit our target" break was disabled for the target_msc == 0 ("Just make the divisor/remainder work") path, we'd never exit. Simplify the code by just using int64_t all over instead of trying to do it in a u32 space. | |||
2008-12-29 | R300: missing semicolon | Alex Deucher | |
2008-12-29 | intel: enable ATI_texture_env_combine3. Fixes #17707 | Xiang, Haihao | |
2008-12-28 | r300: remove the unknowns from the indx_buffer code | Dave Airlie | |
2008-12-24 | i915: separate the fog term from the specular color term. | Xiang, Haihao | |
Previously fog parameter and specular color are packed into the same dword. Note specular color should be packed in BGRA for device, so if fog parameter and specular color all are present, fog parameter will dirty the alpha term of specular color. This fixes rendering issue when playing 'Yo Frankie' on 915/945. | |||
2008-12-23 | intel: Fix glBitmap clipping for DRI1. | Eric Anholt | |
2008-12-23 | Remove third buffer support from Mesa. | Dave Airlie | |
This is part of the deprecated pageflipping infrastructure. | |||
2008-12-23 | egl: fix egl closure | Alan Hourihane | |
2008-12-23 | egl: fix startup query version | Alan Hourihane | |
2008-12-23 | egl: support GLXFBConfigs, pbuffers and pixmaps. | Alan Hourihane | |
2008-12-22 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | |
Conflicts: src/gallium/auxiliary/util/Makefile | |||
2008-12-22 | gdi: Cleanup sconsfile. | José Fonseca | |
2008-12-22 | softpipe: initialize refcount and winsys | Jerome Glisse | |
2008-12-22 | softpipe: convert to use texture instead of surface | Jerome Glisse | |
2008-12-22 | gallium: const correctness. | José Fonseca | |
2008-12-21 | Ignore new tests executables. | José Fonseca | |
2008-12-20 | gallium: Fix typo in define name. | José Fonseca | |
2008-12-19 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
2008-12-19 | gallium: begin adapting Ian's 3D mipmap gen code to gallium utility lib | Brian Paul | |
Unfinished, a big no-op for now. | |||
2008-12-19 | gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Brian Paul | |
This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f | |||
2008-12-19 | Add do_row_3d for mipmapping 3D textures | Ian Romanick | |
Previously 3D textures were mipmapped using multiple passed through the 2D mipmap generation code. This had 3 disadvantages. First, the extra passes were slow. Second, this required the allocation of a temporary buffer to hold intermediate data. Third, and most important, the extra passes caused loss of additional bits due to integer division / bit-shifting. With this change, our mipmapgen conformance test passes for non-compressed texture formats. | |||
2008-12-19 | Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Ian Romanick | |
2008-12-19 | 965 / GLSL: Use full precision for EXP instruction | Ian Romanick | |
The partial precision mode doesn't have quite enough bits of precision to pass conformance tests. | |||
2008-12-19 | GLSL: The LOG2 macro doesn't have enough precision | Ian Romanick | |
It looks like the LOG2 macro only has 8 or 9 bits of precission, but the ARB_vertex_program spec says "accurate to at least 10 bits". | |||
2008-12-19 | intel: Fix glBitmap top/bottom clipping. | Eric Anholt | |
Bug #19139. | |||
2008-12-19 | intel: Don't forget the source bitmap size when clipping the size we draw. | Eric Anholt | |
2008-12-19 | intel: Update mesa state in blit operations that want post-scissor draw bounds. | Eric Anholt | |
2008-12-19 | intel: don't clip to scissor-clipped read framebuffer bounds in copypixels. | Eric Anholt | |
2008-12-19 | gallium: Simple and efficient cache. | José Fonseca | |
Fixed size hash table. Collisions are handled by simply destroying the previous entry. It hasn't received much testing yet. | |||
2008-12-19 | cell: fix build breakage | Brian Paul | |
2008-12-19 | gallium: set ST_NEW_FRAMEBUFFER when setting new surfaces | Alan Hourihane | |
2008-12-19 | mesa: s/CC/APP_CC/ in progs/glsl/Makefile | Brian Paul | |