Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-01-03 | cell: fix typo (s/10/0) | Brian | |
2009-01-03 | demos: remove redundant Makefile lines from prev merge | Brian | |
2009-01-02 | softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16) | Brian Paul | |
2009-01-02 | gallium: assorted state tracker fixes for > 8 texture samplers | Brian Paul | |
2009-01-02 | mesa: replace CC with APP_CC in progs/glsl/Makefile | Brian Paul | |
2009-01-02 | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | |
Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c | |||
2009-01-02 | gallium: fix texcoord loop for rasterpos attributes | Brian Paul | |
2009-01-02 | gallium: clamp MaxVertexTextureImageUnits against Mesa limit | Brian Paul | |
2009-01-02 | mesa: remove redudant lines for libglapi.a | Brian Paul | |
2009-01-02 | mesa: fix another "out of samplers" problem | Brian Paul | |
Now only the samplers that are actually used by texture() functions are saved in the uniform variable list. Before, we could run out of samplers if too many were declared while only some of them were actually used. | |||
2009-01-01 | i965: increase number of texture samplers to 16 | Brian Paul | |
This lets GLSL shaders use up to 16 samplers. Fixed function is still limited to 8 textures. Tested with progs/glsl/samplers.c | |||
2009-01-01 | i965: comments, clean-ups, re-order some functions | Brian Paul | |
2009-01-01 | i965: added OPCODE_NRM3/4 | Brian Paul | |
2009-01-01 | i965: fix comment | Brian Paul | |
2009-01-01 | i965: indentation and formatting fixes | Brian Paul | |
2009-01-01 | i965: implement OPCODE_NRM3/NRM4 | Brian Paul | |
2009-01-01 | i965: whitespace, comment changes | Brian Paul | |
2009-01-01 | mesa: comments, whitespace changes | Brian Paul | |
2009-01-01 | demos: added progs/glsl/samplers.c to test all available texture samplers | Brian Paul | |
2009-01-01 | mesa: updated comments about GLSL constants | Brian Paul | |
2008-12-31 | mesa: increase max texture image units and GLSL samplers to 16 | Brian Paul | |
The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places. | |||
2008-12-31 | python: Pass a zero offset to util_draw_vertex_buffer. | José Fonseca | |
2008-12-31 | util: List new file in SConscript. | José Fonseca | |
2008-12-31 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | |
2008-12-31 | i915: Avoid ptr->int conversion. | José Fonseca | |
2008-12-31 | draw: Avoid integer overflow converting pointers on 64bit archs. | José Fonseca | |
Not really an error, as we only care for the lower 4 bits. | |||
2008-12-31 | intel: Share passthrough transform setup between glBitmap and glDrawPixels. | Eric Anholt | |
The DrawPixels path was missing glViewport care, so blender's toolbar icons would go to the wrong places. Bug #19118. | |||
2008-12-31 | intel: Add support for glBitmap as metaops using GL calls. | Eric Anholt | |
This lets us avoid software fallbacks when clients forget to turn some state off (engine demo) or just do crazy things to test conformance (OGLC). This should probably be brought into mesa generic code so other drivers can make use of it. Bug #19016. | |||
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 | |